LDAP pita again ftw.

1. LDAP auth works flawlessly
2. LDAP sync also (I think)
3. OTRS refuses to sync LDAP user to local RDBMS because mail address is invalid. Basically that is correct, because I only have partial mail addresses in my LDAP like
mail: firstname.lastname
...where I know that the global domain can be added to it like @example.com and it will be valid.
So first of all, the log:
Code: Select all
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Notice][Kernel::System::Auth::LDAP::Auth] User: pcsaal01 (-snip-) authentication ok (REMOTE_ADDR: 141.20.6.194).
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: 'pcsaal01'!!!
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Error][Kernel::System::User::UserAdd][Line:311]: Email address (support.pc-saal) not valid (invalid support.pc-saal (no mail exchanger (mx) found!)! )!
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Error][Kernel::System::Auth::Sync::LDAP::Sync][Line:261]: Can't create user 'pcsaal01' (-snip-) in RDBMS!
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Error][Kernel::System::User::UserLookup][Line:696]: No UserID found for 'pcsaal01'!
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Error][Kernel::System::User::UserLookup][Line:696]: No UserID found for 'pcsaal01'!
Dec 2 18:18:08 lsm-trouble OTRS-CGI-10[27651]: [Notice][Kernel::System::User::GetUserData] Panic! No UserData for user: 'pcsaal01'!!!
Code: Select all
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
# UserLogin => 'samaccountname',
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
UserPhone => 'telephonenumber',
};

Thanks for your help!
Cheers
Robert