There should be a message from the LDAP module.. I've added some debug info in the class.. Try this instead of the LDAP Auth class Ludovic Peter Murray wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks for the suggestions, but I think I still have the same problem. I tried using non-anonymous binding (using the Active Directory instructions as guidelines) and turning on debugging. My xwiki.xml file now has:
xwiki.authentication.ldap.bind_DN=mail={0},ou=People,dc=ohiolink,dc=edu xwiki.authentication.ldap.bind_pass={1}
and with debugging turned on (and removing the time and URL information to shorten the log entries) I get:
DEBUG XWikiHibernateStore:beginTransaction:376 - Trying to open transaction DEBUG XWikiHibernateStore:beginTransaction:378 - Opened transaction org.hibernate.transaction.JDBCTransaction@595420 DEBUG XWikiHibernateStore:endTransaction:407 - Releasing hibernate transaction org.hibernate.transaction.JDBCTransaction@595420 DEBUG XWikiHibernateStore:closeSession:424 - Releasing hibernate session org.hibernate.impl.SessionImpl(PersistentContext[entitiesByKey={}] ActionQueue[insertions=[] updates=[] deletions=[] collectionCreations=[] collectionRemovals=[] collectionUpdates=[]]) INFO DBCPConnectionProvider:logStatistics:271 - active: 0 (max: 50) idle: 1(max: 5) INFO MyFormAuthenticator:processLogin:142 - User [email protected] login has failed WARN RequestUtils:createActionForm:177 - No FormBeanConfig found under 'loginerror'
Peter
On 8/12/05 3:05 AM, Ludovic Dubost wrote:
You should switch to "debug" in the log4j.properties to see if at least it goes through the LDAP code.. Although some more debug code would be needed in the LDAP module to actually know exactly what is happening..
Now I see that you have no bind_DN and bind_pass.. I suspect this is necessary.. We would have to ask alex though who has written the LDAP module.. Alex is there any anonymous binding ?
- -- Peter Murray http://www.pandc.org/peter/work/ Assistant Director, Multimedia Systems tel:+1-614-728-3600;ext=338 OhioLINK: the Ohio Library and Information Network Columbus, Ohio -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC/IwX4+t4qSfPIHIRAi7aAJsFm2DJzrr1eFHq6dVHBgv9JjoyfgCfQkzI T7hIv1SDp891T39Kc3M30N4= =VFX/ -----END PGP SIGNATURE-----
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic