Subject: passwd fails with NIS
To: None <netbsd-help@netbsd.org>
From: Brook Milligan <brook@evolution.nmsu.edu>
List: netbsd-help
Date: 07/05/1999 16:45:45
I'm trying to set up NIS but am having problems with getting passwd to
change the password in the NIS database.  yptest succeeds so I think
NIS is correctly set up.  However, the passwd command always fails
after the old password is given (even when it is the same password
that allows access to the host).

I am running basically stock 1.4 as far as NIS is concerned:  no
/etc/hosts_allow/deny files.

The authlog from running passwd (on the NIS server) looks like:

     portmap[2554]: connect from 127.0.0.1 to dump()
     portmap[2556]: connect from 127.0.0.1 to unset(yppasswdd)
     portmap[2558]: connect from 127.0.0.1 to dump()
     portmap[2561]: connect from 127.0.0.1 to unset(yppasswdd)
     portmap[2562]: connect from 127.0.0.1 to set(yppasswdd)
     portmap[2563]: connect from 127.0.0.1 to set(yppasswdd)
     portmap[2565]: connect from <full IP address> to getport(yppasswdd)

Does anyone have suggestions on how I should be setting this up?

Thanks for your help.

Cheers,
Brook