user_finger.php3
* Add a header with the page encoding before sending any page (header added in config.php3)
This closes Bug #153
+* Fix a problem when reading username.mappings
Ver 1.75:
* A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
be accessed by normal users (not administrators).
#
# Set general_strip_realms to yes in order to stip realms from usernames.
# By default realms are not striped
-#general_strip_realms : yes
+#general_strip_realms: yes
#
# The delimiter used in realms. Default is @
#
$val=chop($val);
if (ereg('^[[:space:]]*#',$val) || ereg('^[[:space:]]*$',$val))
continue;
- list($key,$realm,$v)=split(":[[:space:]]*",$val,2);
+ list($key,$realm,$v)=split(":[[:space:]]*",$val,3);
if ($realm == 'accounting' || $realm == 'userdb' || $realm == 'nasdb' || $realm == 'nasadmin')
$mappings["$key"][$realm] = $v;
if ($realm == 'nasdb'){