To be precise:
After:
Code: Select all
# Enable LDAP lookups for Agent logins.
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'dc1.cpddb.local';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=cpddb,dc=local';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=search,OU=IT,OU=External,DC=cpddb,DC=local';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'pass';
# Enable LDAP lookups of Agent account informations and default roles.
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'dc1.cpddb.local';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=cpddb,dc=local';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'CN=search,OU=IT,OU=External,DC=cpddb,DC=local';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'pass';
Code: Select all
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}=[
'users',
];
but it doesn't. In my opinion Agent is created but is not put in any of groups.
Now I think it is some kind of necessary line that is needed for initialization of newly created agent but to make it adding to Users group there are some more lines necessary.
Can anyone explain me that mystery?
Or at least link me to the documentation where all that parameters are well described?
thanks
Marek