summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab78ed3)
raw | patch | inline | side by side (parent: ab78ed3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Jan 2010 13:01:20 +0000 (13:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Jan 2010 13:01:20 +0000 (13:01 +0000) |
-We've ogroups now and do not need system templates of this type anymore.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15200 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15200 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc
index 8a620e5a75774a4a96c2d17e629dcf1a06b5a5b4..bb01370f966603ac9c37eabb0b499655db816fc1 100644 (file)
// Detect Workstation & templates
}elseif(in_array('gotoWorkstation', $entry['objectClass'])){
if(!isset($entry['macAddress'][0]) || $entry['macAddress'][0] == "-"){
- $entries[$key]['objectClass'][] = 'FAKE_OC_WorkstationTemplate';
+ continue; // We do not need templates anymore, we've ogroups now.
+ //$entries[$key]['objectClass'][] = 'FAKE_OC_WorkstationTemplate';
}
$pwd_acl = $ui->get_permissions($entry['dn'],'workstation/workgeneric','userPassword');
if(preg_match("/w/",$pwd_acl)){
// Detect Terminal & templates
}elseif(in_array('gotoTerminal', $entry['objectClass'])){
if(!isset($entry['macAddress'][0]) || $entry['macAddress'][0] == "-"){
- $entries[$key]['objectClass'][] = 'FAKE_OC_TerminalTemplate';
+ continue; // We do not need templates anymore, we've ogroups now.
+ //$entries[$key]['objectClass'][] = 'FAKE_OC_TerminalTemplate';
}
$pwd_acl = $ui->get_permissions($entry['dn'],'terminal/termgeneric','userPassword');
if(preg_match("/w/",$pwd_acl)){
// Detect Server & templates
}elseif(in_array('goServer', $entry['objectClass'])){
if(!isset($entry['macAddress'][0]) || $entry['macAddress'][0] == "-"){
- $entries[$key]['objectClass'][] = 'FAKE_OC_ServerTemplate';
+ continue; // We do not need templates anymore, we've ogroups now.
+ //$entries[$key]['objectClass'][] = 'FAKE_OC_ServerTemplate';
}
$pwd_acl = $ui->get_permissions($entry['dn'],'server/servgeneric','userPassword');
if(preg_match("/w/",$pwd_acl)){