OpenSolaris NIS Help

Associate
Joined
20 Oct 2002
Posts
1,217
Location
Melbourne Australia
Hi,

Haven't touched OpenSolaris for a while and am having another look at it, but can't seem to get it to authenticate via NIS.

I cannot login via SSH or GDM using a NIS user. When asked for the password, I get the error 'su: sorry'.
I cannot login as a non-root user and su to the NIS user as I get the same error 'su: sorry'.
I can however login using the local root account and su - to the NIS user and it logs in fine (no password requested) and mounts my homedir using autofs and everything else it should do (had to set NFS_CLIENT_MAXVERS=3 in /etc/default/nfs or the homedir wouldn't mount).

I can ypwhich and ypcat the NIS maps fine, but anything from OpenSolaris that requires a NIS password for some reason fails. I've also tried yppasswd and that fails also.

This is in a tested, working NIS environment. I already have Ubuntu clients that can quite happily login using NIS.

I have checked svcs and network/nis/client is running.

Anyone seen anything similar or have any idea as to why this might not be working?

I have set the domainname and echo'd it into /etc/defaultdomain.
run ypinit -c and specified ypserver.
restarted autofs and nis services.
 
Last edited:
Back
Top Bottom