*BSD News Article 78663


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!in-news.erinet.com!ddsw1!news.mcs.net!www.nntp.primenet.com!nntp.primenet.com!newsfeed1.aimnet.com!fsc.fujitsu.com!pagesat.net!news.digicity.net!usenet
From: Damien Thorn <damien@digicity.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Getting 'htpasswd' to work w/Apache & FreeBSD
Date: Fri, 20 Sep 1996 02:09:51 -0700
Organization: Digital City Communications, Inc.
Lines: 19
Message-ID: <32425F5F.3DD7@digicity.net>
NNTP-Posting-Host: sidewinder.digicity.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.01 (Win16; I)

We've operated the Apache httpd on FreeBSD for more than a year
without problem.  A client now needs to implement authentication to
several subdirectories, so we upgraded the the latest version of
Apache and compiled the HTPASSWD program to generate password files
for authentication.

However, we keep getting errors of "Password Mismatch."

In browsing some archives, I noted potential problems between DES and
MD5 encryption.  The server runs FreeBSD with MD5 (I assume), and
the copy of Apache we compiled came from the freebsd.org ports
collection and I assume is therefore patched appropriately.

We included -lcrypt as an extra lib when we compiled the htpasswd
binary as well.

Any clues or suggestions?  (Thanks in advance!)

Damien