[firsname] being the 'givenName' command (with the exception of a few individuals because they have the same first name) and [buildingName] being defined as CN=[job position],OU=[shortened version of buildingName],DC=ihp,DC=local in the Active Directory which means I need to define [buildingName] from the short version of buildingName through each users dn= in the Active Directory.
I am sorry if this is hard to understand.
Code: Select all
# AuthSyncModule::LDAP::UserSyncMap
# (map if agent should create/synced from LDAP to DB after successful login)
$Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
# DB -> LDAP
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};