Code: Select all
Mon Nov 8 07:01:10 2010 notice OTRS-CGI-10 Panic! No UserData for user: 'ctpadmin'!!!
Mon Nov 8 07:01:10 2010 error OTRS-CGI-10 No UserID found for 'ctpadmin'!
Mon Nov 8 07:01:10 2010 error OTRS-CGI-10 No UserID found for 'ctpadmin'!
Mon Nov 8 07:01:10 2010 error OTRS-CGI-10 Can't create user 'ctpadmin' (CN=Chris T. Phillips Admin,OU=Users,OU=IT,DC=psg,DC=net) in RDBMS!
Mon Nov 8 07:01:10 2010 error OTRS-CGI-10 Need UserEmail!
Mon Nov 8 07:01:10 2010 notice OTRS-CGI-10 Panic! No UserData for user: 'ctpadmin'!!!
Mon Nov 8 07:01:10 2010 notice OTRS-CGI-10 User: ctpadmin (CN=Chris T. Phillips Admin,OU=Users,OU=IT,DC=psg,DC=net) authentication ok (REMOTE_ADDR: 192.168.100.100).
Here is the relavant parts of my Config.pm file.
Code: Select all
# Using MS AD as backend for authentication
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '192.168.200.32';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=psg,dc=net';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
# Check if the user is allowed to auth in a posixGroup
# (e. g. user needs to be in a group OTRS_Agents to use otrs)
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=OTRS Agents,ou=OTRS,dc=psg,dc=net';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
# Bind credentials to log into AD
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=OTRS LDAP,OU=OTRS,DC=psg,DC=net';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'xxxxxxxxxx';
# in case you want to add always one filter to each ldap query, use
# this option. e. g. AlwaysFilter => '(mail=*)' or AlwaysFilter => '(objectclass=user)'
#$Self->{'AuthModule::LDAP::AlwaysFilter'} = '';
# 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'} = '';
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
# Now sync data with OTRS DB
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = '192.168.200.31';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=psg, dc=net';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=OTRS LDAP,ou=OTRS,dc=psg,dc=net';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'xxxxxxxxxx';
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenname',
UserLastname => 'sn',
UserEmail => 'mail',
};
# AuthSyncModule::LDAP::UserSyncInitialGroups
# (sync following group with rw permission after initial create of first agent
# login)
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];