My configuration:
Code: Select all
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'ip';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=domain,dc=org';
$Self->{'AuthModule::LDAP::UID'} = 'uid';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://ip';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=domain, dc=org';
$Self->{'AuthSyncModule::LDAP::UID'} = 'uid';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];
Code: Select all
otrs OTRS-CGI-10[2559]: [Notice][Kernel::System::Auth::LDAP::Auth] User: testagent (uid=testagent,ou=people,dc=domain,dc=org) authentication ok (REMOTE_ADDR: 192.168.56.1).
Code: Select all
OTRS-CGI-10[2559]: [Notice][Kernel::System::Auth::LDAP::Auth] User: appmgr (uid=appmgr,ou=people,dc=domain,dc=org) authentication ok (REMOTE_ADDR: 192.168.56.1).
OTRS-CGI-10[2559]: [Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: 'appmgr'!!!
I found quite some posts regarding the configuration of LDAP for OTRS but none describing this problem, could somebody point me in the right direction? Thanks in advance!