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

Re: Password Crypt Problem?

At 10:31 PM 2002-01-15, Rajat wrote:
>What would i being doing wrong...

You are trying to use {CRYPT} to provide interoperability
where crypt(3) is not only platform specific, but specific
to the libraries each application is linked with.  Either
the platforms you are using differ, or you have linked
the applications with different versions of crypt(3).
For example, maybe you linked one application with
OpenSSL's crypt(3) and another with -lcrypt's crypt(3).

{CRYPT} is provided for /etc/passwd -> slapd migration
purposes.  If you want multiple application interoperability,
go with plain text userPassword (per RFC 2256) or {SSHA}.