Bug in checkrad.pl
Rick Macdougall
jibbermac at gmail.com
Fri Jan 16 16:32:44 CET 2009
Hi,
I believe the redback_telnet in checkrad.pl has a small bug.
Original code starting at line 1338
#Ask the question
@lines = $t->cmd(String => "show subscribers active
$user\@$context");
if ($lines[0] =~ /subscriber $user\@$context/ ) {
Should be
#Ask the question
@lines = $t->cmd(String => "show subscribers active $user\@$context");
if ($lines[0] =~ /subscriber $user\@$context/ ) {
ie the $user\@$context needs to be on the same line, at least with our
redback.
Regards,
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090116/de284fec/attachment.html>
More information about the Freeradius-Users
mailing list