I wondering where/how to set the default nis server for clients. Heres what I did:
I installed nis following
http://linux-nis.org/nis-howto/HOWTO/verification.html and the "managing nis and nfs" by orielly and it said to test the configuration do:
which gave me the error
Quote:
debian:/var/yp# ypcat passwd
No such map passwd.byname. Reason: Can't bind to server which serves this domain
|
So i did ( Remember debian is the master )
Quote:
debian:/var/yp# ypcat -h localhost passwd
|
And it worked perfect. So i figured that this must be an issue with the server. I installed the client on slackware and got same exact issue, so i added -h 192.168.1.103 ( debian's internal ip ) and it worked fine.
I have my ypservers set to
Code:
debian:/var/yp# cat ypservers
localhost
192.168.1.103
debian.dynamicblack.com
debian:/var/yp#
And on the client I have
Code:
root@darkstar:/# cat /etc/yp.conf
ypserver 192.168.1.103
domain no.cox.net broadcast
Basiclly I just need to be able to tell the clients the proper nis server.