Discussion Locked

nisdomainname question

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm trying to setup linux workstations to authenticate to a linux server using NIS. I setup the server nisdomainname= nis_home & ran the ypinit -m with all ok. Started the ypserv & yppasswdd ok also.
Set the client \etc\yp.conf:
domain nis_homeserver 192.168.1.10
also tried:
ypserver nis_home
When I run \etc\rc.d\init.d\ypbind restart I get:
Binding to the NIS domain [OK]
Listening for an NIS domain server.....[FAILED]
Is my nisdomainname not valid? (I can ping nis_home from the client ok).
Drving me crazy! Any help is appreciated.
Keith

4 replies

by rouse

Still working on this...
I disabled ipchains on the nis server and now -

Listening for an NIS domain server

does not return [Failed}, but it dose not return an [OK] either. Is that right?
Anyway, I set up a user (joe) on the server, and tried logging in on the client, but get a Login incorrect. So anybody have an idea? Also, what ports do I need to open in my firewall to allow network access to this nis server 192.168.1.10?
Thanks,
Keith

by derekblack

I know most Linux distro's use port 7000 as default. Also make sure that you're running the RPC portmapper, I forgot this minor detail and wasted 4hrs troubleshooting. There are also known issues with certain distros as well. Let me know if this helps.

by rouse

I don't know about the port 7000, but I've discovered that nis grabs a random port. When I disable the firewall, then all ok, but I'm not going to do this so I'll take a look at ldap to see if that will work. Thanks for the reply. Here's the points.

This discussion is closed to new replies.