Looks like ldap db record not populated or your ldap service couldn�t connect to ldap service at initialization stage. Please check your jetspeed logs.
Ender -----Original Message----- From: Gabriel Santonja [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 8:10 PM To: jetspeed dev Subject: error in ldapauthentication.java Hello, I'am trying to connect jetspeed on a ldap and I've an error in the LDAPAuthentication.java (cvs version) in the method public JetspeedUser getAnonymousUser() around line 195 if (cachingEnable) { JetspeedSecurityCache.load(user.getUserName()); } i've this error when i try to login. If i comment those lines the horrible exception disappear. A little help would be appreciate, please :). Cordialy _______________ Horrible Exception: org.apache.jetspeed.services.security.LoginException: Failed to get anonymous user: org.apache.jetspeed.services.security.RoleException: Failed to retrieve groups at org.apache.jetspeed.services.security.ldap.LDAPAuthentication.getAnonym ousUser(LDAPAuthentication.java:207) at org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Je tspeedAuthentication.java:107) at org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(Jetspeed Security.java:186) at org.apache.jetspeed.modules.actions.JLoginUser.doPerform(JLoginUser.jav a:259) at org.apache.turbine.modules.ActionEvent.perform(ActionEvent.java:148) I'am using the jetspeed security.default with ldap and the ldap service conf is like this: _________________________ ######################################### # LDAP Service # ######################################### services.ldap.classname=org.apache.jetspeed.services.ldap.LDAPService services.ldap.host=192.168.xxx.xxx services.ldap.port=389 services.ldap.sslport=636 services.ldap.basedn=ou/jetspeed%ou/applications%ou/fr%o/unis services.ldap.managerdn=cn/ldapadmin%ou/admin%o/unis services.ldap.password=unisunis services.ldap.anonymousbind=false services.ldap.securityauthentication=simple #services.ldap.securityprotocol=ssl #services.ldap.socketfactory=javax.net.ssl.SSLSocketFactory #services.ldap.jndiprovider=com.sun.jndi.ldap.LdapCtxFactory #services.ldap.saslclientpckgs= services.ldap.limit=0 services.ldap.timeout=0 services.ldap.version=3 #LocalWords: SHA LocalWords: crypt Cordialy. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
