Hello,

If someone can advise me...
How to share information between the authorize() function and the 
authenticate() function within a perl or python script ?
For example, i get some information from a database in authorize() that will 
reuse it in authenticate()?
I could resubmit the sql request again, but it is clearly not efficient.

in perl, i could write some new attributes in RAD_CHECK ??, then authenticate() 
will access them.
in python, attributes are read only, so i cannot use them to pass information 
to authenticate().
A simple database, like redis, could be a solution by adding info with the id 
of the request (with Message-Authenticator as key)?

If someone has an idea, it is very welcome...

Regards,
Laurent

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to