Here is my original post :
I inherited an ultra-2 running 5.6 as NIS master. It has a shadow and
shadow- file under /var/yp/masters which it uses to authenticate passwords.
It is a mystery to me... i always believed that nis uses passwd map itself
for password authentication. This causes some queer behaviour like for
clients bound to a slave server users cannot change their own passwords (get
permission denied message). Passwords can only be changed on either the
master nis server or on clients bound directly to the master.
The shadow map is NOT propagated to the slaves.
Summary will follow enlightenment.
Thanks to all who responded. Most of u asked me to use yppasswd. That was
unfortunately not the solution.
Solution : The makefile had to be edited to force propagation of passwd
map in case of shadow file implementation (which was not happenning if there
was a shadow file detected... dunno why !)
The following reply by Mike DeMarco is very precise and appreciated.
>From: Mike DeMarco <firstname.lastname@example.org>
>Reply-To: Mike DeMarco <email@example.com>
>Subject: Re: shadow map/file in nis database
>Date: Tue, 6 Jun 2000 08:59:19 -0400 (EDT)
>Several things you will need to look at.
>1) check your Makefile on the master,
>2) on master check to see if,
> rpc.yppasswd -D /var/yp/master -m is running.
> The -m will rerun a make on the passwd file after changes are made.
>3) at the end of your Makefile in the dependencies you should add netid to
> you passwd: group: hosts: lines.
> passwd: passwd.time netid.time
> group: group.time netid.time
> hosts: hosts.time netid.time
> This will build your netid map any time the passwd,group or hosts maps
> are rebuilt.
>The above should solve your problem.
> >Rahul Sen
> >Lucent Tech.
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:09 CDT