How to determine the auth method used?

Thorsten Kukuk kukuk at suse.de
Wed Sep 21 13:55:30 UTC 2005


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 at suse.de
SUSE LINUX Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B




More information about the Pam-list mailing list