/usr/share/freeradius-dialupadmin/lib/ldap/personattrs.php is in freeradius-dialupadmin 2.1.12+dfsg-1.2ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | <?php
#Read person attribute mapings
$ARR = file($config[general_ldap_person_attrs_file]);
foreach($ARR as $val){
$val=chop($val);
if (preg_match('/^[[:space:]]*#/',$val) || preg_match('/^[[:space:]]*$/',$val))
continue;
list($key,$desc)=preg_split("/\t+/",$val);
$person_attrs["$key"] = "$desc";
}
?>
|