I got LDAP working.
However, now all users can login to the admin area, so I figured I create group 'otrsagent' in AD and put all the techies in there.
I changed my config.pm like this:
Code: Select all
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'dc.mycompany.com';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=mycompany,dc=com';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::AlwaysFilter'} = '(objectclass=user)';
$Self->{'AuthModule::LDAP::GroupDN'} = 'CN=otrsagent,OU=Users,DC=mycompany,DC=com';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUID';
$Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'user';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'password';
Code: Select all
[Thu Mar 28 16:02:39 2013][Error][Kernel::System::Auth::LDAP::Auth][276] Search failed! base='CN=otrsagent,OU=Users,DC=mycompany,DC=com', filter='(memberUID=kthoedt)', 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=mycompany,DC=com'
Am I doing something wrong?