How to handle challenge response using PAM auth in FreeRadius

John Dennis jdennis at redhat.com
Mon Mar 15 18:51:33 CET 2010


On 03/15/2010 01:12 PM, Rajendra Hegde wrote:
> Hello,
> The scenario is like this :
> {remote client } -----> {radius} ---> {PAM} ----> {Extern Athenticator}
> Now when the external authenticator sends challenge to PAM, I do not see
> a easy way to pass the "challenge text" back to the radius.
> Please note that pam_sm_authenticate allows either SUCCESS or FAILURE return
> but not "Challnege text" return.

I gave you the answer, it's done with pam_conv, you should read the code 
in rlm_pam.c.

-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/



More information about the Freeradius-Users mailing list