On Thu, 6 Sep 2001, Horatio B. Bogbindero wrote:
..
> did you try rewriting /etc/pam.d/login to use the pam ldap modules
> instead? i do not do logins though. but, when i migrated the system from
> /etc/passwd to ldap. i just modified the pam.d file and it worked.
>
> is the nsswitch.conf setting necessary when the pam.d/login is
> configured. i assume that the pam ldap module with contain the necessary
> instructions to properly access the ldap repository. but, legacy apps
> may need it. hmmmm.

Errr... pam and nss are two different things. Jijo can't even get nss to
work, something's screwed right there.

Example: nss provides things like getpwuid() getpwnam() getspent()
endspent() etc etc etc.

PAM is just for authentication.

e.g. on "old" non-PAM-ified UNIX nss is all you need, you get do
getpwnam() getspnam() and compare the crypted password to what's sent by
login(1) and you're done!!


-- 
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to