[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: pam and trigger

Hugo Monteiro <hmmm@fct.unl.pt> writes:

>     Is it possible to get pam_ldap to work retrieving ONLY uid and password
> from ldap and getting the rest of the info (name, guid, shell, etc...) from
> /etc/passwd?

All pam does is authenticate, so by definition the only thing that pam
gets from ldap is the uid and password.

The other half of the equation is nss_ldap, which is what provides the
other information to getpwnam() and friends. If you're not using
nss_ldap, then the information will be retrieved from the /etc files,
regardless of whether you're using pam_ldap or not.

Dave Carrigan (dave@rudedog.org)            | Yow! NOW, I'm supposed to
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | SCRAMBLE two, and HOLD th'
Seattle, WA, USA                            | MAYO!!
http://www.rudedog.org/                     |