Dear XWiki users,

I have been looking for authenticating my xwiki users against a LDAP  
directory (OpenLdap, debian box), where the userPassword field is  
encrypted using the SHA algorithm.

Unfortunately, I am not able to configure xwiki to encrypt the  
password entered by the user before the authentication and  
authorization process.

I receive the following snip, after enabling ldap logging in a custom  
log4j.properties file as indicated in the doc:
com.xpn.xwiki.XWikiException: Error number 8001 in 8: LDAP  
authentication failed: could not validate the password: wrong password  
for uid=gravier.christophe,ou=xxx,o=yyyy,c=fr

The configuration is nevertheless good in overall, because I can log  
in if I store my password as plain text binary in my LDAP server (but  
I don't want it to be plain text in the LDAP server of course...).

I have been searching the documentation, FAQ and user/dev mailing  
lists, and I only found encryption related to cookie storage, or SHA  
encryption for xwiki-webdav module 
(http://xwiki.markmail.org/message/k2r2qqu2twjputml?q=ldap+SHA 
) developpers' thoughts.

Does someone have any clue on how to configure xwiki for encrypted  
userPassword stored in OpenLDAP please ?

Thank you in advance for any information in this matter !

Best Regards,

Ch. Gravier

--
Dr.-Ing. Christophe Gravier
DIOM laboratory - http://diom.telecom-st-etienne.fr/
TELECOM Saint-Étienne (formerly "Istase") - http://www.telecom-st-etienne.fr/

Jabber ID : [email protected]
Homepage: http://diom.telecom-st-etienne.com/public/cgravier/
Research project: http://diom.istase.fr/satin/einst/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to