Synchronizing information with LDAP and authenticating users by membership in the LDAP security group
Fill in the Company
parameter in your configuration file to synchronize
the records with the filled in attribute company
, e.g.:
// Company name for synchronization with LDAP
'Company' => 'Some company'
If necessary, specify the search base for synchronization by filling the SearchBase
parameter, for example:
// The distinguished name of the search base object for searching employees in LDAP.
'SearchBase' => 'dc=fabrikam,dc=com'
/cake_ldap/employees
or simply /users
Synchronize information with the LDAP server
Configure parameters TreeSubordinate
in your configuration file, e.g.:
// Tree of subordinate employee
'TreeSubordinate' => [
'Enable' => true,
],
If you want to edit the positions of the employee subordination tree,
configure parameters TreeSubordinate
in your configuration file, e.g.:
// Tree of subordinate employee
'TreeSubordinate' => [
'Draggable' => true,
],
Uncomment parameter CAKE_LDAP_LDAP_ATTRIBUTE_MANAGER
in your configuration file, e.g.:
'LdapFields' => [
...,
CAKE_LDAP_LDAP_ATTRIBUTE_MANAGER => [
'label' => __d('cake_ldap_field_name', 'Manager'),
'altLabel' => __d('cake_ldap_field_name', 'Manag.'),
'priority' => 16,
'truncate' => true,
'rules' => [],
'default' => null
],
]
manager
attribute in the LDAP entries/cake_ldap/employees/tree
or simply /users/tree