Re: FreeBSD 4.9 - NIS Authentication Problem (SSHD Illegal User ERROR)

2008-05-12 Thread Volker Jahns

David Kramer schrieb:
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. 

As a first guess I would recommend:
- check /etc/hosts.allow (ssh access control used by FreeBSD)
- shadow support
- rpcinfo -p openbsd 3.9 works OK?
- run ypserv daemon in foregound, check its output

--
Volker Jahns, [EMAIL PROTECTED]

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.9 - NIS Authentication Problem (SSHD Illegal User ERROR)

2008-05-12 Thread Artyom Viklenko

David Kramer wrote:
**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:


Have you added special records to /etc/group and /etc/master.passwd files?
It should be +::: in  /etc/group  and +:  in /etc/master.passwd.
Use vipw to edit password file.




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




--
   Sincerely yours,
Artyom Viklenko.
---
[EMAIL PROTECTED] | http://www.aws-net.org.ua/~artem
[EMAIL PROTECTED]   | 
FreeBSD: The Power to Serve   -  http://www.freebsd.org
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.9 - NIS Authentication Problem (SSHD Illegal User ERROR)

2008-05-12 Thread David Kramer
Thank you all for your responses, I have solved my issue.  I needed to 
have Bash installed and setup for the shell to mount properly when the 
authentication happens.  A symbolic link took care of it.


Thanks much,

DK


Volker Jahns wrote:


David Kramer schrieb:
 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.
As a first guess I would recommend:
- check /etc/hosts.allow (ssh access control used by FreeBSD)
- shadow support
- rpcinfo -p openbsd 3.9 works OK?
- run ypserv daemon in foregound, check its output

--
Volker Jahns, [EMAIL PROTECTED]





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

[EMAIL PROTECTED]
o. 415.694.5315
c. 650.302.7889
bb. 415.646.6320
Yahooo: Pollucts
AIM: PolluctsXXX

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to [EMAIL PROTECTED]