Ldap configurations belong to a organization, which ldap users will be synchronized into.
You are supposed to use a global admin user to modify the configuration. You need to enter the following information of the LDAP user synchronization in the "organization" page.
A friendly name is used for managers to identify different servers.
Example LDAP Server
LDAP server's host.
LDAP server's ports, only allow numbers.
Casdoor uses Sub search mode by default when searching in LDAP. Base DN is the basic distinguished name of the search. Casdoor will return all users under the current base DN.
The admin account configured in casdoor should have at least read-only permissions at base DN.
An account that can log in to the specified LDAP server.
Login with DN or ID depends on the LDAP server settings you want to connect.
Admin account's password.
0 to disable auto sync, other value means Sync every few minutes.