Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to get Apache Archiva working with LDAP
    primarykey
    data
    text
    <p>I have uncommented the LDAP and UserMapper connectors in application.xml</p> <p>I know my LDAP credentials (binddn, hostname, etc) are all working, because I use LDAP authentication and authorization for other apps on my server.</p> <p>All I've done, is make the changes to application.xml and security.properties. Is there something else I'm supposed to do?</p> <p>When I try to login with a user from LDAP, it is unsuccessful. Is there a log file I can check to see what's going wrong? I find the archiva documentation to be sparse and laconic.</p> <p>Here is my security.properties file - some values have been altered, maybe someone can verify the structure is in-tact:</p> <pre><code># LDAP user.manager.impl=ldap ldap.bind.authenticator.enabled=true redback.default.admin=admin security.policy.password.expiration.enabled=false ldap.config.hostname=localhost ldap.config.port=389 ldap.config.base.dn=domainName=mydomain.com,o=domains,dc=mydomain,dc=com ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory ldap.config.bind.dn=cn=Manager,dc=mydomain,dc=com ldap.config.password=mypass ldap.config.mapper.attribute.email=mail ldap.config.mapper.attribute.fullname=displayName ldap.config.mapper.attribute.password=userPassword ldap.config.mapper.attribute.user.id=mail ldap.config.mapper.attribute.user.base.dn=ou=Users ldap.config.mapper.attribute.user.object.class=inetOrgPerson ldap.config.mapper.attribute.user.filter=(objectclass=inetOrgPerson) </code></pre> <p>Also, the config.mapper.attribute.user.base.dn confuses me. The basedn of my users is here: ou=Users,domainName=mydomain.com,o=domains,dc=mydomain,dc=com</p> <p>So does that mean for base DN I put: domainName=scoresecret.com,o=domains,dc=scoresecret,dc=com</p> <p>and for config.mapper.attribute.user.base.dn: ou=Users</p> <p>Let me know if I'm doing something wrong, if I'm forgetting to do something to "switch LDAP on", and if I can find some logs to point me in the right direction. Thanks a ton</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload