* Add a general_nas_type and a per nas type directive and pass that to snmpfinger. Updated snmpfinger to also
support lucent equipment apart from cisco
* Update the HOWTO file with a few comments on the general_nas_type directive
+* Use the User-Password attribute instead of Password in user_test.php3
Ver 1.63:
* Do an eval on the attribute description strings in the user_edit page. That will allow the login-time creation
page to work properly.
if ($test_login){
$test=1;
fwrite($fp, "User-Name = \"$config[general_test_account_login]\"\n");
- fwrite($fp, "Password = \"$config[general_test_account_password]\"\n");
+ fwrite($fp, "User-Password = \"$config[general_test_account_password]\"\n");
pclose($fp);
}
else{
fwrite($fp, "User-Name = \"$login\"\n");
if ($auth_proto == 'pap')
- fwrite($fp, "Password = \"$passwd\"\n");
+ fwrite($fp, "User-Password = \"$passwd\"\n");
else if ($auth_proto == 'chap')
fwrite($fp, "CHAP-Password = \"$passwd\"\n");
if (strlen($extra))