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

RE: md5 BSD passwd was [crypt MD5 passwords: invalid credentials]

On Wed, 28 Mar 2001, Paulo Matos wrote:

> On Wed, 28 Mar 2001, Alexandre Ghisoli wrote:
> > If you've define --with-ssl, OpenSSL redefine crypt(), so crypt() doesn't
> > understand the $1$ magic salt.
> >
> 	So I'm stucked! Because I need SSL support, and I guess that
> openssl-0.9.6a-beta2 (that supports $1$.. and apache $apr1$..) does not
> redifine crypt() in order to reflect this changes. I know for sure that
> if you do 'openssl passwd -1 -salt SALT yourpassword' it will generate
> $1$SALT$.... correctly.
> 	I'm building openldap reordering the LIBS, has sugested before on
> the list, to see what happens...

	It worked!

	But this isn't a good solution. If openssl crypt() is being used
I'm using a beta version, if crypt(3) is being used the BSD style md5
support is dependent on server's config...

	Is there a way to be sure which crypt() is being used?

	Paulo Matos
 ----------------------------------- ----------------------------------
|Sys & Net Admin                    | Serviço de Informática           |
|Faculdade de Ciências e Tecnologia | Tel: +351-21-2941346             |
|Universidade Nova de Lisboa        | Fax: +351-21-2948548             |
|P-2825-114 Caparica                | e-Mail: pjsm@fct.unl.pt          |
 ----------------------------------- ----------------------------------