I have installed the OTRS Community Edition and so far it runs without problems.
Now I would like to register the agents with Active Directory data.
I have the AD Connect running so far. When I try to register the agent now I get the following error:
Code: Select all
" Authentication successful, but no entry for the user was found in the database. Please contact your administrator.
Code: Select all
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'LEVDC.xxxxx.xxx';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'DC=xxxxx,DC=xxx';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'OTRS-LDAP@xxxxx.xxx';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'xxxxxxx';
$Self->{'AuthSyncModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthSyncModule::LDAP::UserAttr'} = 'DN';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
Code: Select all
Global symbol "$Self" requires explicit package name (did you forget to declare "my $Self"?) at /opt/otrs/Kernel/Config.pm
Lg