]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add notes on rlm_python changes to upgrade doc
authorNick Porter <nick@portercomputing.co.uk>
Wed, 30 Apr 2025 11:19:50 +0000 (12:19 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 30 Apr 2025 13:48:00 +0000 (14:48 +0100)
doc/antora/modules/howto/pages/installation/upgrade.adoc

index dfa1634aa42fe380f9ad888c93f1a9a1bbebe696..65ac39791a45aa156eae69ba553d5e678a39269f 100644 (file)
@@ -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