Hi, 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... Regards, Laurent ----- Mail original ----- De: "Alan DeKok" <aland@deployingradius.com> À: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Envoyé: Lundi 24 Septembre 2012 18:06:03 Objet: Re: rlm_python: no %RAD_REQUEST equivalent laurent.feron@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