*BSD News Article 49781


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!enews.sgi.com!sgigate.sgi.com!swrinde!howland.reston.ans.net!newsfeed.internetmci.com!news.sprintlink.net!buffnet2.buffnet.net!buffnet3!root
From: root@buffnet.net (Superuser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: strange NIS/YP problem
Date: 30 Aug 1995 17:27:36 GMT
Organization: BuffNET
Lines: 28
Message-ID: <422728$f92@buffnet2.buffnet.net>
References: <41ug57$1ft@buffnet2.buffnet.net> <41v8nt$h9t@sol.ctr.columbia.edu>
NNTP-Posting-Host: buffnet3.buffnet.net
X-Newsreader: TIN [version 1.2 PL2]

Bill Paul (wpaul@ctr.columbia.edu) wrote:
: Daring to challenge the will of the almighty Leviam00se,
: Superuser (root@buffnet.net) had the courage to say:

: : I set up a freebsd to act as a nis client of an SCO machine.

: I didn't know SCO had NIS... learn something new every day, I guess.


SCO has a lot to be desired to be exact.


[deletia]

: : Im really stumped = One thing I note from the ypmatch userid passwd is 
: : that SCO sticks some junk at the end of the password field - a ,..DI or 
: : something close to that.

: Well, lookit: FreeBSD doesn't know about that 'extra junk'. It expects
: encrypted DES passwords to be 13 characters long (11 characters of
: cipherjunk plus two characters of salt). If SCO's passwords are 13 characters
: plus some stuff appended to the end, then you'll simply never get a
: match.


I finally added a line of code in login.c to ensure it truncs the 13 
chars.  Its working now.