Hi,
I need to authenticate users by Calling-Station-Id.
Pass users who uses phone number, which begins at "69"
I have written the script on perl:
==========================
#!/usr/bin/perl
(our $i)[EMAIL PROTECTED];
$string = substr ($i,0,2);
if ($i=='69'){
exit(0);}
else{
exit(1);}
==========================
And write this string in radreply table:
Id UserName Attribute Value op
1 someuser Exec-Program-Wait /etc/radius/bin/credit.pl %i =
==========================
And after all of this it still doesn't pass "69"-users.
What you could to advise me, maybe someone had the same problem.
Thanks!
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html