I've managed to get the Agent side working and syncing correctly however when i've configured the customer side, i keep getting:
[Tue Mar 22 15:24:16 2011][Error][Kernel::System::CustomerAuth::LDAP::Auth][220] Search failed! Bad filter
The customer section has the following code:
Code: Select all
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = '192.168.1.1';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=woof,dc=dog';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'CN=Domain Users,CN=Users,DC=woof,DC=dog';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=bob smith,OU=Users,OU=woof,DC=woof,DC=dog';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'barking';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
Code: Select all
$Self->{'Customer::AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'Customer::AuthSyncModule::LDAP::Host'} = '192.168.1.1';
$Self->{'Customer::AuthSyncModule::LDAP::BaseDN'} = 'dc=woof,dc=dog';
$Self->{'Customer::AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthSyncModule::LDAP::AccessAttr'} = 'member';
$Self->{'Customer::AuthSyncModule::LDAP::SearchUserDN'} = 'CN=bob smith,OU=Users,OU=woof,DC=woof,DC=dog';
$Self->{'Customer::AuthSyncModule::LDAP::SearchUserPw'} = 'barking';
$Self->{'Customer::AuthSyncModule::LDAP::UserSyncMap'} = {
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
$Self->{'Customer::AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
'users',
];
Any help much appreciated.