<quote who="Tom Cook">
> Just wondering if anyone knows the answer to this (probably) stupid
> question:
>
> I have two boxes, one is set up as a NIS server (ypserv running)
> the other as a NIS client (ypbind finds the server OK).  I have
> users home directories mounted, I believe with the correct
> permissions.  Shadow passwords are not being used on the server.

while i have not run debian as a NIS server, i am running
1 system as a NIS client against a solaris 7 NIS server.

my config:

/etc/nsswitch.conf


passwd:         compat
group:          compat
shadow:         compat


(i don't have any of the other stuff you have)

/etc/passwd
(after all the other entries)
+::0:0:::/dev/null

/etc/group
(after all the other entries)
+:::

/etc/yp.conf(optional, reccomended if you have a backup server tho)
ypserver nis-server1.mydomain.com
ypserver nis-server2.mydomain.com

/etc/defaultdomain
nis-domain

(where nis-domain is your NIS domain name)

/etc/hosts
(put entries for your NIS server here)

hth

(this config is from a debian 2.2 box)

nate




Reply via email to