Hello,
I use FR from CVS (Jul 10 2002). I have problems with
Exec-Program-Wait. While FR runs in debug mode it doesn't send back the
right AVPairs, rather AVPair Reply-Message.
------------ debug ------------------------------
radius_xlat: '/gis/scripts/prepaid.pl'
Exec-Program: /gis/scripts/prepaid.pl
Exec-Program-Wait: value-pairs: h323-billing-model =
"h323-billing-model=1",h323-preferred-lang = "h323-preferred-lang=S
K",h323-credit-amount = "h323-credit-amount=419.00",h323-currency =
"h323-currency=SKK",h323-return-code = "h323-return-
code=0"
Exec-Program: Abnormal child exit
Sending Access-Reject of id 162 to 193.41.203.20:1645
Reply-Message = "\r\nAccess denied (external check failed)."
Finished request 50
-------------------------------------------------
When I use FR in daemon mode it works, but when I want to reject
the user (my perl script returns exit value 1) and send back AVPairs to
the NAS, I also get only the Reply-Message AVPair (I know this from the
NAS's debug - NAS got attribute 18).
Something is wrong with the external script. I know that there was
a bug around the debug mode (I found this bug), but I upgraded after that
bug was fixed (?).
Thanks in advance.
Thomas
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html