summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b327f4)
raw | patch | inline | side by side (parent: 9b327f4)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 14:18:00 +0000 (14:18 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 14:18:00 +0000 (14:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6541 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationStartup.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index 1b5e032afec695573a632023e210f4c311099a06..be645996ff75d16e02a3f86fc9d94eb84cca98f3 100644 (file)
['PACKAGES'][0] "pkg1";
['PACKAGES'][1] "postfix";
*/
-
- $ldap->search("(&(FAIrepository=*)(objectClass=FAIrepositoryServer))",array("FAIrepository"));
+ $filter= "";
+ $ui= get_userinfo();
+ if (isset($config->current['STRICT_UNITS']) && preg_match('/TRUE/i', $config->current['STRICT_UNITS']) && $ui->gosaUnitTag != ""){ $filter= "(gosaUnitTag=".$ui->gosaUnitTag.")";
+ } $ldap->search("(&(FAIrepository=*)(objectClass=FAIrepositoryServer)$filter)",array("FAIrepository"));
$test = array();
while($attr = $ldap->fetch()){
if(isset($attr['FAIrepository'])){