roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Heizenreder <ahei...@googlemail.com>
Subject LDAP Integration with Roller 4.0.1
Date Thu, 22 Apr 2010 13:33:06 GMT
Hello!

I am trying to integrate my Roller installation to Apache Directory Server
as described under
https://cwiki.apache.org/confluence/display/ROLLER/Roller+4.0+with+LDAP+and+CAS.
And it works so long, as a user is present in both systems Roller and ADS.
If a user from ADS not created in Roller tried to log in, it comes to an
error "ERROR no user: ..." :

DEBUG 2010-04-22 12:02:15,611 LdapAuthenticationProvider:retrieveUser -
Retrieving user admin
DEBUG 2010-04-22 12:02:15,611 DefaultInitialDirContextFactory:connect -
Creating InitialDirContext with environment
{java.naming.provider.url=ldap://localhost:10389/dc=example,dc=com,
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.principal=uid=admin,ou=system,
com.sun.jndi.ldap.connect.pool=true,
java.naming.security.authentication=simple,
java.naming.security.credentials=******}
DEBUG 2010-04-22 12:02:15,627 FilterBasedLdapUserSearch:searchForUser -
Searching for user 'admin', in context
javax.naming.directory.InitialDirContext@10936a1, with user search [
searchFilter: 'uid={0}', searchBase: '', scope: subtreesearchTimeLimit:
0derefLinkFlag: false ]
DEBUG 2010-04-22 12:02:15,642 DefaultInitialDirContextFactory:connect -
Creating InitialDirContext with environment
{java.naming.provider.url=ldap://localhost:10389/dc=example,dc=com,
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.principal=uid=admin,ou=system,
com.sun.jndi.ldap.connect.pool=true,
java.naming.security.authentication=simple,
java.naming.security.credentials=******}
DEBUG 2010-04-22 12:02:15,658 DefaultInitialDirContextFactory:connect -
Creating InitialDirContext with environment
{java.naming.provider.url=ldap://localhost:10389/dc=example,dc=com,
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory,
java.naming.security.principal=uid=admin,ou=People,dc=example,dc=com,
java.naming.security.authentication=simple,
java.naming.security.credentials=******}
WARN  2010-04-22 12:02:15,689 LoggerListener:onApplicationEvent -
Authentication event AuthenticationFailureServiceExceptionEvent: admin;
details: org.acegisecurity.ui.WebAuthenticationDetails@12afc:
RemoteIpAddress: 127.0.0.1; SessionId: D09264A777DF96F742E0A6A16F52415D;
exception: ERROR no user: admin; nested exception is
org.acegisecurity.ldap.LdapDataAccessException: ERROR no user: admin

I configure all setting from Tutorial and also tried the settings from
http://mail-archives.apache.org/mod_mbox/roller-user/200908.mbox/%3C8fb9ac720908281403n5eae6602x1fe116f266f689e@mail.gmail.com%3E

My installation parameters:
- Apache Roller 4.0.1
- Apache Directory Server 1.5.6
- Apache Tomcat 6.0.26
- MySQL 5.0.67

Thanks,
Andreas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message