Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 1996 11:41:30 -0500
From:      Alex Nash <alex@fa.tdktca.com>
To:        Carlos Amengual <amengual@sadeya.cesca.es>
Cc:        freebsd-questions@freebsd.org, mitayai@dreaming.org
Subject:   Re: DES vs MD5
Message-ID:  <31B70A3A.587DDF88@fa.tdktca.com>
References:  <Pine.BSF.3.91.960606004824.21478A-100000@dreamlabs.dreaming.org> <31B7140C.3014@sadeya.cesca.es>

next in thread | previous in thread | raw e-mail | index | archive | help
Carlos Amengual wrote:
> 
> Will Mitayai Keeso Rowe wrote:
> >
> > On Thu, 30 May 1996, Alex Nash wrote:
> >
> > > > I'm sitting here on a -current system where MD5 encryption has been installed
> > > > and i am trying to compile the htpasswd utility in the apache-1.0.5 src
> > > > (right from a ports tree that i supped 10 minues ago). It fails,
> > >
> > > I haven't looked at the Apache port, but I suspect your build is failing
> > > because it's not linking with libcrypt.  Add the following to
> > > support/Makefile:
> > (...)
> 
> >
> > -Mit
> 
> But you will find that the apache does not recognize your passwords, or at least that's
> what I experienced. Do I need to install DES (and recompile several programs that I
> built for MD5), as I had to do for the CERN server on another machine, or is there
> something else I could do ?

I'm using Apache 1.0.5 (straight from ftp.apache.org) with MD5 encryption
and it works fine.  You should not need DES at all.

What does your htpwd file look like?  You should have entries like:

    foobar:$1$Dh$nlJJz4Oh7YyDBgBL1n8Z80

I'd also check your HTTP log files (particularly the error log), it may not 
be looking in the right place for the password file (possible configuration 
error in access.conf).

Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31B70A3A.587DDF88>