*BSD News Article 81741


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Undefined call to _crypt
Date: 28 Oct 1996 23:14:05 GMT
Organization: Private BSD site, Dresden
Lines: 20
Message-ID: <553ent$1do@uriah.heep.sax.de>
References: <32749B2E.7713@digicity.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Damien Thorn <damien@digicity.net> wrote:

> Compiling as-is gives an error similar to the one in my
> subject line.  When I add -lcrypt when compiling, the resulting
> code works, but not properly.
> 
> The encrypted password strings wind up being in correct (they
> appear to be too short) and thus do not work with Apache.  If I
> manually copy a snippet of the master.password file over, Apache
> authenticates the user fine (via .htaccess file).

Seems like you're suffering from some confusion between libscrypt and
libdescrypt.  (libcrypt are simply symlinks to one of the above.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)