Subject: Re: passwd fails with NIS
To: Brook Milligan <brook@trillium.NMSU.Edu>
From: David Brownlee <abs@anim.dreamworks.com>
List: netbsd-help
Date: 07/20/1999 19:24:07
        It looks like the 'secure' default for the ypmaps is causing a
        problem.
        Edit /var/yp/<domainname>/Makefile and uncomment the 'INSECURE?='
        line, touch /etc/master.passwd, and rerun make in /var/yp

        I don't have time to look into why the secure stuff is failing -
        could you submit a PR so it doesn't fall between the cracks?

	Thanks

		David/absolute

  -=-  "Old Red he died, and every single landlord in the district cried"  -=-

On Mon, 5 Jul 1999, Brook Milligan wrote:

> 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
>