summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 762d6dd)
raw | patch | inline | side by side (parent: 762d6dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Dec 2010 12:59:40 +0000 (12:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 15 Dec 2010 12:59:40 +0000 (12:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20568 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index abc84928ff5be3eacb293c4e2304aa2403245230..8fa9eddc727ef19ff860c7fb648c55e2a68d9031 100644 (file)
$attrs = $ldap->fetch();
$this->o_group_dn = $attrs['dn'];
}
+
+ if ($ldap->count() > 1) {
+ $ogroups = array();
+ array_push($ogroups, $attrs['dn']);
+ while ($attrs = $ldap->fetch()) {
+ array_push($ogroups, $attrs['dn']);
+ }
+ $str = "";
+ foreach($ogroups as $dn) {
+ $str .= "<li>".$dn."</li>";
+ }
+ msg_dialog::display(_("Warning"), sprintf(_("This system is member of more than one object group, object group inheritence will not work!")."<br><ul>%s</ul>", $str), WARNING_DIALOG);
+ }
}
/* Creating a list of valid Mirrors