I'm new here in this forum but haven't found what I'd like to archieve here so far.
We're using Znuny 6.0.38. The documentation lacks of information here, I tried to figure out from many different sources.
The connection to out Active Directory (AD) was made by me a year and a half ago and the auth works as expected.
Now I'd like to map several user attributes to use them in out templates but it seems that I did not fully understand the mechanism.
I added the following to my Config.pm:
Code: Select all
$Self->{AuthSyncModule} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = 'ldaps://mydom.local';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=mydom,dc=local';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = '[...]';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = '[...]';
Code: Select all
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
'UserFirstname' => 'givenName',
'UserLastname' => 'sn',
'UserEmail' => 'mail',
'UserLogin' => 'sAMAccountName',
'UserTitle' => 'personalTitle',
'UserJobTitle' => 'title',
'UserDescription' => 'description',
'UserDepartment' => 'department',
};
Also I tried to add dynamic fields but do not see any data, too.
Any help would greatly appreciated!
Manu