I’m a novice. I don’t know how to set the configuration information of ldap to make it work in nexus. I’ve searched Google for a long time, but I haven’t found the answer I want.
I referred to this article: Setting Advanced LDAP Connection Properties in Nexus Repository Manager – Sonatype Support, but it seems that I need the basic knowledge of Java, which I am very deficient in.
In my nexus.properties configuration file, I set the following parameters:
nexus.ldap.env.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
nexus.ldap.env.java.naming.provider.url=ldap://ldap-service.ldap.svc.cluster.local:389
nexus.ldap.env.java.naming.security.authentication=simple
nexus.ldap.env.java.naming.security.credentials=adminpassword******
nexus.ldap.env.java.naming.security.principal=cn=admin,dc=xyz,dc=com
nexus.scripts.allowCreation=true
In addition to this information, how can I set information such as searchfilter and basedn in nexus.properties?
Thanks for any help!