rlm_python clears reply if rejecting
Valts Mazurs
valts at datatechlabs.com
Wed Sep 14 17:21:16 CEST 2005
Hello, Freeradius developers!
There is one feature or bug in algorhytm in rlm_python module.
If rlm_python receives RLM_MODULE_REJECT as python script return code it
cleans all attributes from reply message. But, as far as I know, it is
allowed to return some attributes to NAS in reject message. I would like
to send h323-return-code in authorization reject message to explain to
NAS why particular message was rejected.
I found code in rlm_python.c which is responsible about this "feature"
and removed it. You can find patch in attachment of this e-mail. It
would be really kind from your side if you applied it in further releases.
Regards,
Valts Mazurs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlm_python.c.20050914.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20050914/2740c5e1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20050914/2740c5e1/attachment.pgp>
More information about the Freeradius-Devel
mailing list