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

[ale] How LDAP works with authentication



On Wed, Oct 12, 2005 at 08:42:15PM -0400, Christopher Fowler wrote:
> You've answered my question about retrieval of the password.  This will
> not work with getpwnam().  I will have to implement something like PAM
> and integrate in all code that does auth.

Ouch.  Are you sure?  Once you authenticate to the LDAP server, you can
retrieve the user object, which should have most, if not all, of the
information you would need to implement getpwnam.  Except the password,
but do you need it at that point?
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9