28 Jun
2007
28 Jun
'07
9:41 a.m.
baki@enternet.hu wrote:
Hello!
I use Debian 4.0 with FreeRadius 1.1.3 and I am developing a custom module for the post-auth section. When I want to access the request attributes (user name and password) I get a segmentation fault with this code: VALUE-PAIR *request_pairs = request->packet->vp;
$ make distclean $ ./configure ... $ make
When I used gdb to debug the segfault I noticed that the request attributes are in request->proxy (and the reply attributes are in request->proxy_reply). I don't understand this because the preprocess module runs before my module and it uses request->packet->vps without any errors.
This is a sign that your module was built using the wrong version of the server headers. Alan DeKok.