]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
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)
Changelog
bin/snmpfinger
conf/admin.conf

index 2264fb56aefe7ac230fe853a79afcf34b3008c85..23d6b4e8343e82527f08039718d3844ef1a9e17a 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -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 65003681bb80054640f1b544853651ed3ffeab0b..789a2a3f02ffdaba91126c761fb61d6f6fda522a 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 ba82e18144b427c3061bf1c1a1e0c1785e6be661..20740793f70a0810c96ac1c86a06fdc77f27cc47 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