Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 1996 08:10:23 -0500 (EST)
From:      Albert Hayden <ahh3v@virginia.edu>
To:        Gary Palmer <gpalmer@cdrom.com>
Cc:        Seppo Kallio <kallio@beeblebrox.pccc.jyu.fi>, questions@freebsd.org
Subject:   Re: apache httpd (and ncsa httpd passwd does not work) 
Message-ID:  <Pine.A32.3.90.960117080331.96153A-100000@watt.seas.Virginia.EDU>
In-Reply-To: <7071.821863356@westhill.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jan 1996, Gary Palmer wrote:

> Seppo Kallio wrote in message ID
> <Pine.BSF.3.91.960117090651.2596C-100000@beeblebrox.pccc.jyu.fi>:
> > On Tue, 16 Jan 1996, Albert Hayden wrote:
> > > I've upgraded my system to 2.1 and have installed the apache package.  
> > > The password protection files don't work.  It recognizes them, but then 
> > > fails while checking the .htpasswd file.  It doesn't return a 
> > > misconfiguration error, so I'm unsure what's going on.
> 
> > I have same problem with NCSA httpd.
> 
> Sudden thought. Perhaps it doesn't like the 60-odd character MD5
> passwords that are used by default in FreeBSD unless you install the
> DES package? I know that at least xlock had problems with MD5
> passwords...
> 
> Gary
> 
> 

Bingo.  I figured it out last night while hacking the apache code.  The 
algorithm for password checking is incorrect for MD5.

Quick questions:
1.) Where is the DES package?  Is it only an install time option?
2.) Is there simply a different library to link with?  So I can chose 
    between formats?

By the way, I was going to rewrite the apache code for the practice 
with MD5.

Thanks, again everyone.

------------------------------------------------------------------------
Albert Hayden                             | 381-302B Gooch             |
University of Virginia                    | Charlottesville, VA 22904  |
Department of Electrical Engineering      | (804) 243-0169             |
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.90.960117080331.96153A-100000>