Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 01:50:07 -0700
From:      David Kramer <dkramer@coverity.com>
To:        freebsd-net@freebsd.org
Subject:   FreeBSD 4.9 - NIS Authentication Problem (SSHD Illegal User ERROR)
Message-ID:  <482804BF.1090506@coverity.com>

next in thread | raw e-mail | index | archive | help
**IF this is the wrong list for this topic please let me know which list 
I should post network services issues to.

I am relatively new to FreeBSD but have quite a bit of experience with 
NIS on Linux.  I am currently working on connecting a FreeBSD 4.9 client 
connection to NIS server running on OpenBSD 3.9.  The ypcat commands are 
working and I can see the passwd and group files, however when I attempt 
to login to the machine I keep getting SSHD Illegal User Errors.  The 
type of behavior I am seeing would be common on a Linux machine that 
uses nssswitch.conf to state which objects to pass authentication 
through, but its missing the nis value for passwd: or group:.  Looking 
through the FreeBSD website I see that nssswitch was introduced in 
FreeBSD 5.X.  For previous versions of FreeBSD and NIS, are there any 
additional configurations that need to be done?  Possibly with PAM?  I 
have the following values in my /etc/rc.conf files:

nisdomainname="myNISdomain"
nis_client_enable="YES"

I have followed the FreeBSD NIS/YP Handbook configuration to the T, and 
still get the illegal user authentication any insight would be greatly 
appreciated.

Thanks much,

DK

-- 
David Kramer, RHCE
Sr. Systems Engineer
Coverity, Inc.






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482804BF.1090506>