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

Re: linux md5 password --> openldap?



Try "{crypt}$1$KhnoybOU$E80qNnpDUEZDCNU5wP9j41", it appears to work, I
ran into this problem a while back.

- Tod

Graeme Joyce wrote:
> 
> In Linux /etc/shadow we have passwords that look like:
> 
> $1$KhnoybOU$E80qNnpDUEZDCNU5wP9j41
> 
> I believe this is some form of MD5 password. I'd like to be able to copy
> this into OpenLdap so the user can bind to ldap with their linux password.
> Have tried various things like {md5}E80qNnpDUEZDCNU5wP9j41 but no luck so
> I'm obviously missing the point.
> 
> Does anyone know what the details of this password format are, and if I can
> somehow turn it into an md5 password that openldap will understand?
> 
> btw I can generate and use md5 passwords with ldappasswd no problem.
> 
> Thanks
> Graeme