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

Re: Converting userPassword Types?





--On Friday, January 05, 2001 03:19:24 PM -0500 Hugh MacMullan <hugh@macmullan.org> wrote:

Folks:

I'm VERY new to ldap ... I've managed to get my Apache 1.3.12 (RH 6.2)
webservers authenticating with multiple ldap servers (auth_ldap-1.4.0-2 &
openldap-1.2.9-5, both of which came with RH 6.2).

Here's the question:

Okay, I used an old password file from a Netscape server, that had CRYPT
encryption on the passwords, and munged them into a .ldif file like so:

joe:asdkdSDLKFHdkd
becomes:

dn: cn=joe, dc=macmullan, dc=org
objectclass: person
uid: joe
userPassword: {crypt}asdkdSDLKFHdkd

This works just fine (even on a remote system!  Woohoo!) ... but I'd like
to know if there's a way to convert these crypt passwords to SHA or MD5
for better transportability.

Any ideas?

--Hugh




--On Friday, January 05, 2001 03:19:24 PM -0500 Hugh MacMullan <hugh@macmullan.org> wrote:


Folks:

I'm VERY new to ldap ... I've managed to get my Apache 1.3.12 (RH 6.2)
webservers authenticating with multiple ldap servers (auth_ldap-1.4.0-2 &
openldap-1.2.9-5, both of which came with RH 6.2).

Here's the question:

Okay, I used an old password file from a Netscape server, that had CRYPT
encryption on the passwords, and munged them into a .ldif file like so:

joe:asdkdSDLKFHdkd
becomes:

dn: cn=joe, dc=macmullan, dc=org
objectclass: person
uid: joe
userPassword: {crypt}asdkdSDLKFHdkd

This works just fine (even on a remote system!  Woohoo!) ... but I'd like
to know if there's a way to convert these crypt passwords to SHA or MD5
for better transportability.

Any ideas?

--Hugh





      _ _ _ _           _    _ _ _ _ _
     /\_\_\_\_\        /\_\ /\_\_\_\_\_\
    /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
   /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
  /\/_/_/_/_/ /\_\  /\/_/    /\/_/
 /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
 \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

 Rob Tanner
 McMinnville, Oregon
 rtanner@cheshire.onlinemac.com

Attachment: pgpaFsRL2C3RC.pgp
Description: PGP signature