Hello world,
here is the original request:
>
>I'm running a domain of SUN workstations using SUNOS 4.1.3_U1. There is a NIS
>master server and one slave server. The problem is that a password change is
>not propagated to the slave server after a password has been changed using
>yppasswd. The master server runs yppasswdd started from /etc/rc.local by
>
> if [ -f /usr/etc/rpc.yppasswdd -a -d /var/yp/$dname ]; then
> /usr/etc/rpc.yppasswdd /etc/passwd -m \
> passwd DIR=/var/yp
> echo -n ' yppasswdd'
> fi
>
>The daemon is really running, ie. /var/yp/$dname exists. The password file
>stays in /etc/passwd and the NIS makefile is in /var/yp.
>
>I have to run ypxfr (resp. the script /usr/etc/yp/ypxfr_1perhour) manually to
>propagate the changes. However, the manual says that yppasswdd should call
>yppush to automatically propagate the changes.
I got two replies, the first one (Glenn.Satchell@uniq.com.au) suggested to
remove the DIR=/var/yp entry and restart the server, because the argument
overrules the DIR setting in the Makefile. After doing so yppasswdd correctly
rebuild the maps, but however they were not propagated to the slave server.
The second reply (hessep@gb.swissbank.com) suggested to take a look at
ypservers. For some reason the entry for the slave server was missing. After
disassembling ypservers, adding the entry, and makedbm the maps were
propagated.
Thank you very much!
-- Stefan. _ ____ ---------------------------------------------------------. |_\____o_/_/__ | Funny how just when / Stefan Gerberding \<>-----_/_/___]> you think life / FB Informatik, FG Inferenzsysteme `o | can't possibly / Phone: ++49-6151-165668 get any worse / Fax: ++49-6151-165326 it suddenly / mail: TH Darmstadt, Alexanderstr. 10, D-64283 Darmstadt does. -Marvin / email: stefan@inferenzsysteme.informatik.th-darmstadt.de / http://kirmes.inferenzsysteme.informatik.th-darmstadt.de/
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:34 CDT