From: Nick Porter Date: Wed, 30 Apr 2025 11:19:50 +0000 (+0100) Subject: Add notes on rlm_python changes to upgrade doc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb3381a329b2f024a0820ce09c1bbd7cd346aae;p=thirdparty%2Ffreeradius-server.git Add notes on rlm_python changes to upgrade doc --- diff --git a/doc/antora/modules/howto/pages/installation/upgrade.adoc b/doc/antora/modules/howto/pages/installation/upgrade.adoc index dfa1634aa4..65ac39791a 100644 --- a/doc/antora/modules/howto/pages/installation/upgrade.adoc +++ b/doc/antora/modules/howto/pages/installation/upgrade.adoc @@ -905,6 +905,19 @@ data, instead of as hex strings. All data received from the network is marked `tainted` by default. +=== rlm_python + +Rather than passing a tuple representing attributes in the `request` +list, an object is passsed to Python functions representing the request. +This object has members giving access to all the lists, for both +accessing and setting attributes. + +The module now only expects a single return value representing the module +`rcode` since attributes can be set directly within Python functions. + +See the xref:howto:modules/python/index.adoc[rlm_python] module documentation +for more details. + === rlm_radutmp The module has been removed. Many Unix distributions have moved away