checkrad cisco

Joe Maimon jmaimon at ttec.com
Fri Jan 19 12:54:07 CET 2007


session_id doesnt appear to work, probably since my session ID's look 
like this

0/1/0/2.33_00000007

so snmpget doesnt work.

But neither does snmpwalk -- without this patch.
I dont know which is correct.

--- /usr/sbin/checkrad  2006-12-14 02:22:21.000000000 -0500
+++ /usr/local/sbin/checkrad.deb        2007-01-19 06:48:25.000000000
@@ -401,7 +401,7 @@
         if($login eq $ARGV[3]) {
                 return 1;
         }else{
- 
$out=snmpwalk($ARGV[1],$pass,".iso.org.dod.internet.private.enterprises.9.10.19.1.3.1.1.3");
+ 
$out=snmpwalk($ARGV[1],$pass,".iso.org.dod.internet.private.enterprises.9.9.150.1.1.3.1.2");
                 if($out=~/\"$ARGV[3]\"/){
                         return 1;
                 }else{




More information about the Freeradius-Devel mailing list