tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isaac Cruz Ballesteros <ic...@sgi.es>
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
{SHA}U2wLM5NFYWwbM8r0VEVNi4oZDWw=

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

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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message