Instantiation of python module fails on 3.0.21

Christian Strauf strauf at
Fri Apr 17 12:15:36 CEST 2020

Hi Alex!

> just make sure you actually have a function enabled for the instantiate 
> call. In other words, make sure that second line is not commented.
>         mod_instantiate = ${.module}
>         func_instantiate = instantiate
Fantastic hint! This works.

I've added a

def instantiate(p):

to my python script and it works!

It's a little odd that this wasn't necessary in 3.0.20. Anyhow, it seems to work now. Thanks for your help!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5279 bytes
Desc: not available
URL: <>

More information about the Freeradius-Users mailing list