Directory (LDAP and Active Directory) 

Connect adsum to your Active Directory or another LDAP directory. People then log in with their directory password, adsum keeps the accounts in step with the directory, and groups can give the roles HR and admin.

Connect the directory 

  1. Open Administration > Single sign-on and select Add a provider.
  2. As Type, choose Directory (LDAP, Active Directory). Enter a Label and switch on Active.
  3. Under Directory connection, enter the Servers, such as ldaps://dc1.example.local, choose the kind of Directory, and enter the service account adsum reads the directory with.
  4. Under Entries, enter the Search base (base DN), the Filter for the people and the Login name people log in with.
  5. Under Attributes, name the directory attributes for name, e-mail, phone, department and so on. Leave one empty to ignore it.
  6. Save, then select Test. Nothing is changed by the test.

Selecting the directory in the list opens its own page with the tabs Settings, Sync runs and Open write-backs.

Sync 

The sync links each directory entry to the employee with the same e-mail address. When an entry is disabled or removed in the directory, the person's account is blocked; when it is enabled again, the block is lifted. HR sees entries that match no employee (see Directory entries).

Under Sync, choose how often it runs, whether it takes names and phone from the directory, and whether changes in adsum are written back to the directory. Sync now starts it at once; Dry run only shows what it would do. The tab Sync runs lists every run.

If a sync would block more than a fifth of the accounts, it stops with Stopped before blocking and the administrators are notified. Check the filter and search base. If the blocks are right, start the sync again with Allow blocking more than a fifth of the accounts.

Roles from groups 

Under Roles from groups, switch the mapping on and enter the directory groups for HR and for admins, one per line. At every login and sync, people get or lose the roles according to their groups. The last HR person or administrator of the company always keeps the role.

Good to know 

  • People change their password in the directory, not in adsum. A password they had in adsum before no longer works.
  • When the directory cannot be reached, nobody can log in with it.
  • The tab Open write-backs shows changes the directory has not accepted yet.