/usr/share/arc/ldap-monitor/attlist.php is in nordugrid-arc-ldap-monitor 1.1.1-1.
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 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <?php
// Author: oxana.smirnova@hep.lu.se
/**
* @desc Lists all the values of an attribute across the testbed
*/
set_include_path(get_include_path().":".getcwd()."/includes".":".getcwd()."/lang");
require_once('headfoot.inc');
$lang = @$_GET["lang"];
if ( !$lang ) $lang = "default"; // browser language
define("FORCE_LANG",$lang);
$toppage = new LmDoc("attlist");
define("TOPTIT",$toppage->title);
$strings = &$toppage->strings;
$giislist = &$toppage->giislist;
require_once('attlist.inc');
$object = $_GET["object"];
$attribute = $_GET["attribute"];
$filter = $_GET["filter"];
if ( !$filter ) $filter="";
if ( !$object ) $object="cluster";
$attribute = rawurldecode($attribute);
$filter = rawurldecode($filter);
if ( $attribute[1]==":") {
$attribute = unserialize($attribute);
$filter = unserialize($filter);
$attributes = $attribute;
$filters = $filter;
$n = count($attributes);
$signs = array_fill(0,$n,"=");
} else {
$attributes = array ($attribute);
$signs = array ("=");
$filters = array ($filter);
}
do_attlist($object,$attributes,$signs,$filters,$strings,$giislist);
// Done
$toppage->close();
?>
|