Hello all,
I'm running the latest CVS tree and I want to use external scripts
(written in Perl).
I run FR in debug mode and sent an auth. radius packet which
should be handled by an external script
------- cut------------------------
radius_xlat: '/gis/scripts/dev/p2.pl'
Exec-Program: /gis/scripts/dev/p2.pl
Exec-Program: Abnormal child exit
Login incorrect (external check failed): [978319/97904] (from client
localhost p
ort 0)
Sending Access-Reject of id 35 to 127.0.0.1:46389
Finished request 14
--------- cut -------------------------
What I have in p2.pl:
------------ cut ----------------
#!/usr/bin/perl
exit 1;
--------- cut -------------------
Why did I get Abnormal child exit? What does it mean? Is something
wrong with the script? (access rights are OK, everything has owner radius)
I used a complicated script too, which returns A/V-Pairs, the
script runs perfectly and returns good values, radius handles these
av-pairs but there is the irritating message: Abnormal child exit
One more think: I always get access-reject while I use exit 0 or
exit 1.
Idea?
Regards,
Thomas
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html