How to determine the auth method used?

Christi Garvin christi.garvin at lantronix.com
Wed Sep 21 14:46:19 UTC 2005


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 at 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 at 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 at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4423 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pam-list/attachments/20050921/31164025/attachment.bin>


More information about the Pam-list mailing list