*BSD News Article 50275


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!paladin.american.edu!gatech!news.sprintlink.net!buffnet2.buffnet.net!buffnet1!root
From: root@buffnet.net (Superuser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: strange NIS/YP problem
Date: 29 Aug 1995 07:38:15 GMT
Organization: BuffNET
Lines: 25
Message-ID: <41ug57$1ft@buffnet2.buffnet.net>
NNTP-Posting-Host: buffnet1.buffnet.net
X-Newsreader: TIN [version 1.2 PL2]


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

I can pull the passwd.byname and byuid files fine.

If I NFS mount a volume of the SCO and do a 'ls -l' I can see the userids 
that own each file so I know the reverse lookup is working.

If I do ypmatch userid passwd  it shows me the correct line.

But Ill be darned if a remove user can login.

I put +::::::::: in /etc/master.passwd

I did a chpass on a local user to get all the files created and in sync

I modified login.c to show me what password string it pulled (ep) and the 
encrypted entered one (pw->passwd) - the encrypted entered one is fine - 
ep shows as just ':'.

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.

Any ideas?