Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6836637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:22:45+00:00 2026-05-26T23:22:45+00:00

I have uncommented the LDAP and UserMapper connectors in application.xml I know my LDAP

  • 0

I have uncommented the LDAP and UserMapper connectors in application.xml

I know my LDAP credentials (binddn, hostname, etc) are all working, because I use LDAP authentication and authorization for other apps on my server.

All I’ve done, is make the changes to application.xml and security.properties. Is there something else I’m supposed to do?

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.

Here is my security.properties file – some values have been altered, maybe someone can verify the structure is in-tact:

# 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)

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

So does that mean for base DN I put: domainName=scoresecret.com,o=domains,dc=scoresecret,dc=com

and for config.mapper.attribute.user.base.dn: ou=Users

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:22:46+00:00Added an answer on May 26, 2026 at 11:22 pm

    Make sure you have configured an admin user that exists in LDAP – at the moment there’s no way to use an internal user for that.

    redback.default.admin=admin
    

    Replace admin with a role account in your LDAP server that can be used for this.

    Here is a configuration template I use which should show the values you’d need to populate:
    https://github.com/maestrodev/puppet-archiva/blob/master/templates/security.properties.erb

    It seems the main difference could be the user filter being empty?

    (See also thread on users@archiva.apache.org: http://s.apache.org/KDj)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried uncomment the valve line in the server.xml. The uncommented lines are
Have you used VS.NET Architect Edition's Application and System diagrams to start designing a
So i have the line in the http.conf that relates to PHP uncommented out
I have a splash screen on the application and on that form. I have
I have a PHP application running in iFrame mode. I am rendering an <fb:multi-friend-selector
I have a very unique situation. We use a Cisco Web VPN (don't know
Ok I have PHP working on my mac os x Apache 2 server. Problem
I have a block of uncommented code I'm trying to understand. The comments are
So, I have a CRON job that is simply not working. For a while
I have uncommented the admin areas in settings.py & urls.py. However the admin won't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.