[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Potato NIS Vs PAM problems



On Thu, Sep 30, 1999 at 03:18:26PM +0100, Paul M Sargent wrote:
> I have, what I expect is, a simple problem.
> 
> I'm trying to set my Potato box to use NIS to do the lookup for /etc/passwd.
> I have the +:::::: line at the bottom of my passwd file, and all the yp
> tools work fine (e.g. 'ypmatch pauls passwd' brings up the right response.)
> I've even got autofs automouting home directories with info gleened from the
> NIS database.
> 
> Everything is great....except...
> 
> If the user has no password then he can't logon to the system. What is
> blocking this? I believe this is PAM rather than NIS causing the problem,
> but PAM is a mystery to me.
> 
> Does anybody have any ideas? or any good sources of info for PAM?

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.

Ben


Reply to: