Hello, I am trying to use Penrose LDAP virtual server (http://docs.safehaus.org/display/PENROSE/Home) as an LDAP source to manage authentification of my xwiki instance. The connection to the server works fine but when xwiki tries to search for my user, it stops with the following exception : 2008-12-01 10:06:38,921 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] DEBUG ldap.XWikiLDAPUtils - Searching for the user in LDAP: user:nca base: query:(uid=nca) uid:uid 2008-12-01 10:06:39,921 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] DEBUG ldap.XWikiLDAPConnection - LDAP Search failed LDAPException: Client request timed out (85) LDAP Timeout at com.novell.ldap.Message$Timeout.run(Unknown Source) 2008-12-01 10:06:39,921 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
After searching in the xwiki source code, I found there is a timeout of 1s for a search query to execute (in XWikiLDAPConnection line 292). It may explains the error I imagine. Is it possible to make this timeout defined via a configuration key in xwiki.cfg ? Another point related to xwiki LDAP logs : I don't like very much to have the password sent to xwiki writen clearly in the log file when LDAP debug is activated. Is it possible to have stars instead of the real value of the password ? If someone can do these modifications to the code, I will be pleased to test them. I would like to test it by myself but, currently, I did not manage to build xwiki with maven after checking out the source. Thank you for your help. Nicolas CAZOTTES _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
