*BSD News Article 78739


Return to BSD News archive

#! rnews 1623 bsd
From: "Martin Cracauer" <cracauer@bik-gmbh.de>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Getting 'htpasswd' to work w/Apache & FreeBSD
Date: 20 Sep 1996 21:30:42 GMT
Organization: BIK  Markt-, Media- und Regionalforschung, Hamburg/Germany
Lines: 27
Message-ID: <01bba743$7cb33f70$5dede9c2@biff>
References: <32425F5F.3DD7@digicity.net>
NNTP-Posting-Host: 194.233.237.93
X-Newsreader: Microsoft Internet News 4.70.1155
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!pumpkin.pangea.ca!chronos.syr.edu!www.nntp.primenet.com!nntp.primenet.com!enews.sgi.com!news.mathworks.com!uunet!in1.uu.net!news.maz.net!news.ppp.net!usenet

Damien Thorn <damien@digicity.net> wrote in article
<32425F5F.3DD7@digicity.net>...

> 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."

It works for me. Try generating the password file by hand. The easiest way
to get an encrypted password is not have a  temporary account, use `passwd
<thatname>` and then steal the password from  /etc/master.passwd. I don't
think is has to with different libraries.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@bik-gmbh.de> Programmer,
BIK Aschurwis + Behrens GmbH, Hamburg/Germany
Markt-, Media- und Regionalforschung
http://www.bik-gmbh.de/~cracauer