tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isaac Cruz Ballesteros <>
Subject SHA passwords of LDAP and tomcat
Date Wed, 14 Nov 2001 17:46:27 GMT
Does anyone know why a SHA password generated by openLDAP is different from a 
SHA password generated by Tomcat?

# slappasswd -h {SHA} -s tomcat

# java org.apache.catalina.realm.RealmBase -a SHA tomcat

This is a problem because I want to authenticate users from tomcat, and it 
fails because passwords in LDAP are stored in "openldap" format

If I put by hand the password in tomcat format in LDAP, it works correctly

Any idea?

Thanks in advance.

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message