I've been trying to get nis working on my home network. I'm to the point where both hosts can mount /home and other directories from the server, but users still can't log in. In http://rampex.ihep.su/Linux/linux_howto/html/tutorials/NIS-HOWTO-9.html it says that If everything is fine (as it should be), you should be able to verify your installation with a few simple commands. Assuming, for example, your passwd file is being supplied by NIS, the command ``ypcat passwd'' should give you the contents of your NIS passwd file. But wwhen I tried it here's what I got:
# ypcat passwd No such map passwd.byname. Reason: Internal NIS error Irritably, the howto doesn't say what to do when ypcat passwd doesn't work. Other things I've tried (and the ressults): # /etc/init.d/ypserv status ypserv (pid 11126) is running... # rpcinfo -p localhost program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 823 status 100024 1 tcp 826 status 391002 2 tcp 32788 sgi_fam 100004 2 udp 704 ypserv 100004 1 udp 704 ypserv 100004 2 tcp 707 ypserv 100004 1 tcp 707 ypserv 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100021 1 udp 33004 nlockmgr 100021 3 udp 33004 nlockmgr 100021 4 udp 33004 nlockmgr 100021 1 tcp 33504 nlockmgr 100021 3 tcp 33504 nlockmgr 100021 4 tcp 33504 nlockmgr 100005 1 udp 804 mountd 100005 1 tcp 850 mountd 100005 2 udp 804 mountd 100005 2 tcp 850 mountd 100005 3 udp 804 mountd 100005 3 tcp 850 mountd # rpcinfo -u localhost ypbind program 100007 version 1 ready and waiting program 100007 version 2 ready and waiting # domainname fleabite # ps auwwx|grep yp root 11126 0.0 0.1 1968 712 ? S Nov01 0:00 ypserv root 12493 0.0 0.1 18392 864 ? S 00:31 0:00 ypbind I found this line in the log: ypserv[11126]: refused connect from 67.21.58.221:33083 to procedure ypproc_domain_nonack (fleabite,;0) Note that 67.21.58.221 is the dynamic IP assigned by my ISP. Is there a way to get the server to use it's static IP, 192.168.18.1? Is this part of the problem? I don't know. The 2 hosts are 192.168.18.11 and 192.168.18.12, and I can ping them, they can ping the server, and I can telnet into them from the server wiith no problem (I set up 1 user account just for this) and then su to root. From the server: # ypcat passwd No such map passwd.byname. Reason: Internal NIS error From either of the hosts: # ypcat passwd No such map passwd.byname. Reason: Can't bind to server which serves this domain I'm getting too burned out to think. Can someone help? -- Mit freundlichen Grüßen, Russ. Sick of democrat and republican lies? http://badnarik.org/whybadnarik.php What is freedom, really? See this great flash presentation: http://www.isil.org/resources/introduction.swf ---------------- The Muses love the Morning. ---------------- Against Disease here, the strongest Fence, Is the defensive Virtue, Abstinence. If thou dost ill, the joy fades, not the pains; If well, the pain doth fade, the joy remains. ---------------- http://www.TruthAboutWar.org Visit my nursery: http://www.angelfire.com/linux/behnesnursery/ The Behne Family Genealogy Project: http://www.usgenealogy.net/members/rwbehne/
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________