Local deployment user, NXRM does an LDAP lookup

We have LDAP integration with our NXRM, but also have some local users for uploading artifacts from Maven/Gradle.
A problem we see is that this local user NXRM is trying to retrieve information about it on LDAP.
How can we avoid this?

2020-01-24 09:43:25,817+0100 WARN [qtp1133505953-7539] *UNKNOWN org.sonatype.nexus.ldap.internal.connector.FailoverLdapConnector - Problem connecting to LDAP server: org.sonatype.nexus.ldap.internal.connector.dao.LdapDAOException: Failed to retrieve information for user: deployment Caused by: javax.naming.ServiceUnavailableException: ldap.company.com:389; socket closed; remaining name ‘ou=users’

LDAP authentication through UI works fine though.

In the security realms configuration, make sure the LDAP realm is below the default realms.

Rich

1 Like