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

RE: How to determine the auth method used?



I understand the goal of PAM is to obscure this from the application developer.... however our application needs to perform one or more actions based on what type of auth method was used to grant the user access. Is there some other way to do this, other than by determining the auth method?

________________________________

From: pam-list-bounces redhat com on behalf of Thorsten Kukuk
Sent: Wed 9/21/2005 9:55 AM
To: Pluggable Authentication Modules
Subject: 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

_______________________________________________
Pam-list mailing list
Pam-list redhat com
https://www.redhat.com/mailman/listinfo/pam-list

**********************************************************************
This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.

<<winmail.dat>>


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