[Date Prev][Date Next] [Chronological] [Thread] [Top]

How to convert Solaris m5 passwords to LDAP?

Hi all,

we want to switch a server machine from Solaris (credentials stored 
in "traditional" passwd and shadow file) to Debian with OpenLDAP for

Creating LDIF files from /etc/passwd and /etc/shadow using PADL's
migrationtools is working fine. The only problem is, that many user
passwords on the Solaris machine have been encrypted using Sun's md5 scheme
which results in hashes beginning with the characters "$md5$".

These hashes can be "imported" into our LDAP directory, but
they cannot be used for authentication: Each attempt results in
"access denied" on the client side and LDAP bind errors on the server
side. Even when adding the user information to /etc/passwd and
/etc/shadow on the Linux machine, there's no success.

With CRYPT password hashes, everything works fine.

Do you know any means to "convert" these Solaris-md5-hashed
password strings into something we can use with OpenLDAP?

I appreciate your helpful answers. Thanks in advance!

Christian Schmidt

You have an ability to sense and know higher truth.