This file is indexed.

/usr/share/gosa/plugins/admin/systems/services/repository/class_filterServRepository.inc is in gosa-plugin-fai 2.7.4+reloaded1-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
<?php

class filterRepository {

    static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
    {
        $list = servrepository::getRepositoryList();

        // Convert plugin data into useable format for list.
        $data = array();
        foreach($list as $key => $entry){   
            $entry['objectClass'] = array('FAKE_OC_FaiRepository');
            $item = array('count' => count($entry));
            $item['dn'] = $key;

            if(!count($entry['Sections'])){
                $entry['Sections'][] = '';
            }
            foreach($entry as $name => $value){   
                $item[] = $name;
                if(!is_array($value)) $value=array($value);
                $value= array_values($value);
                $value['count'] = count($value);
                $item[$name] = $value;
            }
            $data[] = $item;
        }
        return($data);
    }
}

?>