Hi Emmanuel,
I currently use archiva 1.0.2. 
I finally succeeded to authenticate against ldap by pathching
redback-common-ldap-1.0-alpha-4.jar to contain all data for ldap access in
file components.xml. Obviously any changes of base dn in
"security.properties" or "application.xml" were ignored.

After solving the authentication another problem shows up: the users are not
known to Archiva and do not have any role assigned. They therfore can not
log in and don't show up in the user list. Here is an excerpt of the logfile

2008-07-07 16:36:42,875 [SocketListener0-0] INFO 
org.codehaus.plexus.redback.authentication.Authenticator:ldap  - Searching
for users with filter: '(&(objectClass=inetOrgPerson)(cn=aperson))' from
base dn: o=Directory
2008-07-07 16:36:42,890 [SocketListener0-0] INFO 
org.codehaus.plexus.redback.authentication.Authenticator:ldap  - Found
user?: true
2008-07-07 16:36:42,890 [SocketListener0-0] INFO 
org.codehaus.plexus.redback.authentication.Authenticator:ldap  - Attempting
Authenication: + cn=aperson,ou=users,o=Directory
2008-07-07 16:36:42,890 [SocketListener0-0] DEBUG
org.codehaus.plexus.redback.system.SecuritySystem:default  -
authnManager.authenticate() result:
AuthenticationResult[principal=taraneh,isAuthenticated=true,exception=<null>]
2008-07-07 16:36:42,890 [SocketListener0-0] DEBUG
org.codehaus.plexus.redback.system.SecuritySystem:default  - User 'aperson'
authenticated.
2008-07-07 16:36:42,890 [SocketListener0-0] DEBUG
org.codehaus.plexus.redback.system.SecuritySystem:default  - User 'aperson'
DOES NOT exist.

Does that mean I have to create every user in openLdap and in the internal
user database?

Can I download archiva 1.1 or is it only accessible via the subversion
repository? 

Regards
Wolfgang


Emmanuel Venisse-2 wrote:
> 
> What is your version?
> 
> I fixed some LDAP things in 1.1 (that will be released normally in few
> days)
> and I use it every days without issues.
> 
> Emmanuel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/LDAP-problem-tp15575936p18319025.html
Sent from the archiva-users mailing list archive at Nabble.com.

Reply via email to