--- JNDIRealm.java 2005-09-23 09:45:11.000000000 -0400 +++ JNDIRealm.java.patched 2005-12-20 23:13:17.000000000 -0500 @@ -1177,7 +1177,7 @@ // iPlanet support if the values starts with {SHA1} // The string is in a format compatible with Base64.encode not // the Hex encoding of the parent class. - if (password.startsWith("{SHA}")) { + if (password.startsWith("{MD5}") || password.startsWith("{SHA}")) { /* sync since super.digest() does this same thing */ synchronized (this) { password = password.substring(5);