Hanzo

LDAP configuration and sync

Configure LDAP per organization and sync users into Hanzo IAM.

LDAP is configured per organization; synced users are created in that organization. Use a global admin to edit LDAP settings on the organization page.

ldap_table

Connecting to the LDAP server

ldap_edit

FieldDescription
Server nameFriendly name for this server (e.g. Example LDAP Server).
Server hostHost or IP of the LDAP server (e.g. example.com).
Server portPort number, numeric only (e.g. 389).
Base DNBase distinguished name for search. Hanzo IAM uses subtree search and returns all users under this DN. The admin account must have at least read access at this base (e.g. ou=Example,dc=example,dc=com).
Search filterLDAP filter for user search (e.g. (objectClass=posixAccount)).
Filter fieldsLDAP attributes used to identify the user (e.g. uid, mail, mobile). The value entered at Hanzo IAM login is matched against these; typically uid is used as the login name.
AdminBind DN or ID for the LDAP admin (depends on server; e.g. cn=manager,dc=example,dc=com).
Admin passwordPassword for the admin account.
Auto sync0 = disabled. Any other value = sync interval in minutes.

LDAP_field

Syncing users

The sync table lists users under the configured base DN. Already-synced users are shown with the checkbox disabled. Select users and sync to import them into the organization.

ldap_sync

Default group

Group to assign to users after sync.

:::caution If an LDAP user’s uid equals the name of an existing user in the organization, Hanzo IAM creates a new user with a modified name (uid + random suffix). That user may not be able to sign in via LDAP because the LDAP server has no such uid. Avoid reusing existing Hanzo IAM usernames as LDAP uids. :::

How is this guide?

Last updated on

On this page