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

Re: How to determine the auth method used?



On Wed, Sep 21, Christi Garvin wrote:

> Apologies if this question is a repeat, but I haven't seen it addressed in any recent posts to the group, or in any of the PAM documentation:
>  
> If a system is configured to use multiple auth methods (LDAP, RADIUS, etc.) - when a user is successfully authenticated with pam_authenticate(), how can you determine which auth method PAM used to authenticate the user?

You cannot. That is the principle of PAM: The application does not
need to know anything.

  Thorsten

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk suse de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B


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