*BSD News Article 88555


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!swidir.switch.ch!news.grnet.gr!btnet-feed2!btnet!netcom.net.uk!easynet-uk!newsfeed.easynet.co.uk!easynet-cherry!usenet
From: levine@yoyo.org (Neil Levine)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: DES passwd crypt support requited for tacacs+ authentication
Date: Tue, 04 Feb 1997 20:02:03 GMT
Organization: [posted via] Easynet Group PLC
Lines: 29
Message-ID: <32f79582.161893@news.easynet.co.uk>
References: <32f423b5.132715158@198.235.216.4> <5d4bhm$hbe$4@polaris.eurocontrol.fr>
Reply-To: levine@yoyo.org
NNTP-Posting-Host: levine.easynet.co.uk
X-Newsreader: Forte Free Agent 1.1/32.230
X-easynet-cherry: 85508651922286.nnrp
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35141

On 3 Feb 1997 09:35:50 GMT, roberto@eurocontrol.fr (Ollivier Robert)
wrote:

>    [courtesy cc of this posting sent to cited author via email]
>
>In article <32f423b5.132715158@198.235.216.4>,
>Cedric Ferrier <cedric@isys.ca> wrote:
>> 1.Install the libdescrypt on freebsd (where can I get it? as a   
>>     binary?and how to link it (will I need to re-add my users?) 

I tried posting another thread about this but it doesnt seemed to have
appeared so...

I am using FreeBSD 2.1.5 with the MD5 crypt libs instead of DES. Now I
know MD5 prefaces all output with $1$, and therefore assumed the salt
was the 4th and 5th characters accordingly but when I use the crypt
function with these as the salt it doesn't produce output that matches
the crypted passwords in the passwd file.

My code works fine on other BSDs using DES without any changes. The
crypted ouput that does get generated is in MD5 style so I can only
assume I am using the crypt  function incorrectly due to the salt or
some other reason.

Any help appreciated,

Neil Levine
Yoyo Internet Services
levine@yoyo.org