[BBLISA] NIS/Samba update
John Stoffel
john at stoffel.org
Wed Sep 5 14:42:32 EDT 2007
Scott> My test setup consists of Enterprise 5 server running NIS and
Scott> Samba, and dual-boot XP and CentOS 5 clients.
Scott> On my test setup, I'm able to create new samba accounts and
Scott> change samba passwords with no problems.
Scott> NIS still gives me problems, though. I am unable to change
Scott> passwords no matter what. Also, ypwhich on the client returns
Scott> localhost.
Ok, can you give us more details on your Network and YP configuration,
including domain name, etc?
Scott> I have reviewed everything, including configs of other networks
Scott> that are live, and cannot figure out where the problem is.
It sounds like you might, and I stress might, have the client
mis-configured with which network it's trying to talk to the yp
server.
What happens if you do
> /etc/init.d/ypbind restart
> ypwhich
what do you get then? What's in your /etc/yp.conf file? How is your
server configured?
Scott> So, what might I be missing? Why can't I change passwords?
Scott> Also, what would cause the client, when issued ypcat passwd, to
Scott> not show the newer accounts create by the server, even after a
Scott> /var/yp make has been issued?
Have you made the client into a slave by mistake, but it's not pulling
over the changes from the master because it's not listed in
/etc/ypservers? Or the ypservers map?
Scott> Both client and server have been rebooted many times.
That's not going to help probably, since you've got a
mis-configuration from the sound of it, not a system problem.
I assume both boxes are on the same subnet, have matching subnet
masks, can talk to each other (ssh, ping, etc) without any problems?
Thanks,
John
More information about the bblisa
mailing list