How to setup JAMS to work with active directory of windows(LDAP)?

I tried many times but it always said ‘AcceptSecurityContext error, data 52e, v1db0’ .
The username and password are correct .
can you help me please ?
thanks a lots.

Hi @SBS a quick search on Duckduckgo shows that the issue is related to wrong credentials:

Are you sure you are using an account that has read permissions to connect to you LDAP ?

From Jams documentation PDF userguide.pdf you can see that you should use “the account which has Read permissions to the LDAP database in order to lookup users

This is NOT the LDAP’s administration account credentials, but the credentials of the account which has Read permissions to the LDAP database in order to lookup users. The format is generally cn=bot,ou=robots,dc=domain,dc=org

Your admin should provide you most of this information but we do provide a detailed overview over each field in case you need some extra help:

Field Details
Use StartTLS Your LDAP server can be configured to use either TLS/STARTTLS or PLAIN sockets, if STARTTLS is used you should mark this as true
Server Address The address of your server with respect to the JAMS server, your LDAP does not need to be publicly accessible but should be accessible to JAMS. You should have either ldap:// or ldaps:// preceding the address.
Port The port on which the LDAP server is listening for requests (usually 389 for PLAIN/STARTTLS and 636 for SSL/TLS)
Administrator Username This is NOT the LDAP’s administration account credentials, but the credentials of the account which has Read permissions to the LDAP database in order to lookup users. The format is generally cn=bot,ou=robots,dc=domain,dc=org
Password The password used by the account above.
BaseDN The base realm where the users accounts are located, in most cases it is ou=users,dc=company,dc=org