Re: Potato NIS Vs PAM problems
On Thu, Sep 30, 1999 at 03:42:14PM +0100, Paul M Sargent wrote:
> On Thu, Sep 30, 1999 at 10:23:04AM -0400, Ben Collins wrote:
> > Have you tried adding nis to the /etc/nsswitch.conf fields? Note, than the
> > pam_unix.so modules (being that they use standard libc calls for use
> > lookups) recognizes NIS with any problems, so long as the NS Switch is
> > setup properly.
>
> I'll give it a go, but I'm managing to login if the user has a password set,
> so I don't think the actual NIS fetch is a problem. I think that the fault
> lies in the PAM authentiation.
>
> The other thing I should have mentioned is in /var/log/auth.log I'm getting
>
> PAM_unix [1234]: authentation failure; LOGIN(uid=0) -> <username> for login
> service
That's incorrect, you can login with a password locally because it then
acts like a normal UNIX login. You HAVE to add nis to the nsswitch.conf
fields in order to use _any_ programs with NIS. This is not a PAM issue.
Ben
Reply to: