Ulang debug issue with CVS Head
Hi, i have an issue with unlang. radiusd.conf, authorize section: update request { User-Name = "xyz" } Gives the following debug output: +++[request] returns notfound But in modcall.c line 401: rcode = radius_update_attrlist(request, g->cs, g->vps, child->name); rcode is really RLM_MODULE_UPDATED. its just that (modcall.c line 403): if (rcode != RLM_MODULE_UPDATED) { myresult = rcode; } is not altering the result in this case, which lets it on its default value for the Autz section: RLM_MODULE_NOTFOUND. Is this behavior intended? Regards Stephan -- Stephan Jaeger <stephan.jaeger@ewetel.de> EWE TEL GmbH
Stephan Jaeger wrote:
Gives the following debug output:
+++[request] returns notfound ... is not altering the result in this case, which lets it on its default value for the Autz section: RLM_MODULE_NOTFOUND.
Is this behavior intended?
Yes. There was discussion on the -users list about this. You can use the "always" module to return "ok", or anything else. Alan DeKok.
participants (2)
-
Alan DeKok -
Stephan Jaeger