Nachdem wir nun auch das OTRS bei uns in der Firma testen, stellen sich uns noch einige Probleme in den Weg.
Eins davon ist die Anbindung ans Active Directory // LDAP-Anbindung.
Zur zeit bekommen wir bei unseren Login-Versuchen nur die Fehlermeldung dass Benutzername oder Passwort falsch eingegeben wurden, sowie folgende Einträge im logfile:
Code: Select all
[Fri Jul 4 10:53:35 2014][Notice][Kernel::System::Auth::LDAP::Auth] User: user@domain.domain.at authentication failed, no LDAP entry found!BaseDN='dc=domain,dc=domain,dc=at', Filter='(sAMAccountName=user@domain.domain.at)', (REMOTE_ADDR: xxx.xxx.xxx.xxx).
Code: Select all
[Fri Jul 4 10:53:49 2014][Notice][Kernel::System::Auth::LDAP::Auth] User: user@domain.domain.at authentication failed, no LDAP entry found!BaseDN='dc=domain,dc=domain,dc=at', Filter='(sAMAccountName=user@domain.domain.at)', (REMOTE_ADDR: xxx.xxx.xxx.xxx).
[Fri Jul 4 10:53:49 2014][Error][Kernel::System::User::UserLookup][834] No UserID found for 'user'!
Die kernel/Config.pm welche wir zur Zeit verwenden sieht im entsprechenend Teil so aus:
Code: Select all
# ---------------------------------------------------- #
# LDAP Settings #
# ---------------------------------------------------- #
$Self->{AuthModule} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'host.domain.domain.at';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=domain,dc=domain,dc=at';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName'
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'testotrs@domain.domain.at'
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'Password';
# Check if the user is allowed to auth in a posixGroup
# (e. g. user needs to be in a group xyz to use otrs)
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=OTRS_Agents,ou=OTRS,ou=Domain Benutzer,dc=domain,dc=domain,dc=at';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
# for non ldap posixGroups objectclass (with full user dn)
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
# in case you want to add a suffix to each login name, then
# you can use this option. e. g. user just want to use user but
# in your ldap directory exists user@domain.
$Self->{'AuthModule::LDAP::UserSuffix'} = '@domain.domain.at';
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
$Self->{'AuthModule::LDAP::Params'} = {
port => 3268,
timeout => 120,
async => 0,
version => 3,
};
# Enable LDAP Authentication Sync for Agent #
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'host.domain.domain.at';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=domain,dc=domain,dc=at';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::AccessAttr'} = 'memberUid';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'testotrs@domain.domain.at';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'Password';
So langsam sind wir nun leider auch mit unserem Latein am Ende, evlt könnt ihr uns ein wenig auf die Sprünge helfen?

Danke und LG.