rlm_python: no %RAD_REQUEST equivalent

laurent.feron at free.fr laurent.feron at free.fr
Tue Sep 25 13:48:17 CEST 2012


Thanks for your reply.

The tuple is a read only object. So, i cannot modify the request attributes with rlm_python.

Unfortunately, this module is more limited than the perl one. i have to continue with this one...


----- Mail original -----
De: "Alan DeKok" <aland at deployingradius.com>
À: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Envoyé: Lundi 24 Septembre 2012 18:06:03
Objet: Re: rlm_python: no %RAD_REQUEST equivalent

laurent.feron at free.fr wrote:
> in the 'authorize(p)' function, p is the read only tuple of the request. I cannot update the request here.

  Hmm... you should be able to update it.  If you can't, the code should
be changed.

> Moreover, if i change the tuple config in the authorize function , how i can retrieve it in the authentication function?

  You get passed the tuple again.  It's just a list of attributes.

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

More information about the Freeradius-Users mailing list