Hello,
since a couple of days I’m trying to configure our LDAP server inside the nexus.properties.
But it’s very difficult to find any helpful documentation or any kind of example.
I’m using the sonatype/nexus3 Docker image.
What is the correct way of configuring the LDAP properties inside nexus.properties?
I found a couple of versions but I’m not sure, which one is correct
nexus.security.auth.ldap.enabled=true
nexus.security.auth.ldap.url=ldap://<ldap-server>:389
nexus.security.auth.ldap.baseDn=dc=XXX,dc=com
nexus.security.auth.ldap.bindDn=cn=YYY,ou=System,dc=XXX,dc=com
nexus.security.auth.ldap.bindPassword=ZZZZZ
or
nexus.ldap.env.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
nexus.ldap.env.java.naming.provider.url=ldap://<ldap-server>:389
nexus.ldap.env.java.naming.security.authentication=simple
nexus.ldap.env.java.naming.security.credentials=
or
nexus.ldap.enabled=true
nexus.ldap.server.hostname=<ldap-server>
nexus.ldap.server.port=389
nexus.ldap.server.security.starttls=true
nexus.ldap.auth.userDn=cn=YYY,ou=System,dc=XXX,dc=com
nexus.ldap.auth.password=ZZZZZ
nexus.ldap.auth.searchBase=dc=XXX,dc=com
Really would appreciate any kind of help or example configurations,
especially for the more detailed settings like objectClass,searchFilter etc.
Thank you!