use of syslog by pam_unix

Jason Pepas cell at ices.utexas.edu
Wed Mar 30 14:37:20 UTC 2005


On Tue, Mar 29, 2005 at 11:44:01AM +0200, Igmar Palsenberg wrote:
> 
> > from getpwnam(3):
> > 
> >     "The getpwnam() and getpwuid() functions return a pointer to the passwd
> >     structure, or NULL if the matching entry is not found"
> > 
> > Thus, if the user does not exist in /etc/passwd (but does exist in ldap), pwd
> > will be NULL, causing the logging condition to occur.
> 
> You're suppose to have nss_ldap installed if this should succeed. This is 
> the way to go. No problem if you ask me.

I think you misunderstood.  I am addressing pam_unix's use of syslog, not asking
for technical support.  I have nss_ldap installed and configured correctly.  But
thank you all the same.

-jason pepas




More information about the Pam-list mailing list