use of syslog by pam_unix
Igmar Palsenberg
maillist at jdimedia.nl
Tue Mar 29 09:44:01 UTC 2005
> 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.
Igmar
More information about the Pam-list
mailing list