Re: How to determine the auth method used?

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

 



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

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux