archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giles Paterson <>
Subject LDAP - Users are authenticated but not actually logged in
Date Tue, 27 Sep 2011 10:17:54 GMT

I'm trying to get archiva to authenticate against Active Directory and
have had partial success, however despite users being authenticated
successfully (according to the logs), they aren't actually logged in
to archiva. There's no error message displayed when a user logs in,
they just end up back at the archiva application home page again.

I initially tried this on our existing archiva 1.3.4 install but get
the same behaviour with a clean install of archiva 1.3.5

I followed the instructions on the wiki for ldap configuration, along
with information gleaned from this mailing list and have put the ldap
config in my application.xml file along with the following in the file:


The users giles.paterson and giles.test exist in our ldap tree.

When logging in, I get the following in the archiva.log file:

2011-09-27 09:26:20,766 [btpool0-2] INFO
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController  -
Searching for user: giles.paterson
2011-09-27 09:26:20,768 [btpool0-2] INFO
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController  -
Searching for users with filter:
from base dn: dc=wmfs,dc=net
2011-09-27 09:26:20,847 [btpool0-2] INFO
 - Admin user found. No need to configure admin user.
2011-09-27 09:26:22,932 [btpool0-2] INFO
com.opensymphony.xwork2.validator.ActionValidatorManagerFactory  -
Detected AnnotationActionValidatorManager, initializing it...
2011-09-27 09:26:34,669 [btpool0-2] WARN
 - Login for user giles.paterson failed. user not found.
2011-09-27 09:26:34,669 [btpool0-2] INFO
- Searching for users with filter:
from base dn: dc=wmfs,dc=net
2011-09-27 09:26:34,807 [btpool0-2] INFO
- Found user?: true
2011-09-27 09:26:34,808 [btpool0-2] INFO
- Attempting Authenication: + CN=Giles Paterson,OU=User

and this in the archiva-security-audit.log file:

2011-09-27 09:26:34 -  - Successful Login for user giles.paterson

Is the warning from UserManagerAuthenticator significant or is that
attempting to do database authentication and when that fails, the ldap
authentication is used?

Can anyone please give me some pointers as to what I might be doing
wrong or where I should investigate further?


Giles Paterson

View raw message