Add support for usrhiper in snmpfinger. Patch from Nick Bright
authorkkalev <kkalev>
Thu, 10 Mar 2005 19:07:44 +0000 (19:07 +0000)
committerkkalev <kkalev>
Thu, 10 Mar 2005 19:07:44 +0000 (19:07 +0000)
dialup_admin/Changelog
dialup_admin/bin/snmpfinger
dialup_admin/conf/admin.conf

index 2264fb5..23d6b4e 100644 (file)
@@ -22,6 +22,7 @@ Ver 1.78:
 * Make nasXX_finger_type actually work since the place where nas information was stored was changed a
   long time ago. Bug noted by Nick Bright
 * In user_finger only set LD_LIBRARY_PATH once, not each time we call snmpfinger
+* Add support for usrhiper in snmpfinger. Patch from Nick Bright
 Ver 1.75:
 * A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
   be accessed by normal users (not administrators).
index 6500368..789a2a3 100755 (executable)
@@ -33,6 +33,9 @@ if ($type eq 'cisco'){
 elsif ($type eq 'lucent'){
        $walk =`$snmpwalkcmd .iso.org.dod.internet.private.enterprises.529.10.4.1.12`;
 }
+elsif ($type eq 'usrhiper'){
+       $walk =`$snmpwalkcmd .iso.org.dod.internet.private.enterprises.429.4.10.1.1.18`;
+}
 
 while($walk=~/\"([\@\.\w\-]+?)\"/g){
  $user=lc($1);
index ba82e18..2074079 100644 (file)
@@ -98,7 +98,7 @@ general_default_file: %{general_base_dir}/conf/default.vals
 general_finger_type: snmp
 #
 # Defines the nas type. This is only used by snmpfinger
-# cisco and lucent are supported for now
+# cisco, usrhiper and lucent are supported for now
 #
 general_nas_type: cisco
 general_snmpfinger_bin: %{general_base_dir}/bin/snmpfinger