summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f87ae10)
raw | patch | inline | side by side (parent: f87ae10)
author | wolffc <wolffc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 16 Sep 2010 14:42:15 +0000 (14:42 +0000) | ||
committer | wolffc <wolffc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 16 Sep 2010 14:42:15 +0000 (14:42 +0000) |
and the configuration option 'sizelimitWarning' is set to 'true'.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19725 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@19725 594d385d-05f5-0310-b6e9-bd551577e9d8
index 1263256612ad436c864a2dcd8188a7c1431007ab..ef8eb0565af9c46c6dfc751c35579dc229df722e 100644 (file)
$this->clearResult($srp);
$this->sr[$srp] = @ldap_search($this->cid, LDAP::fix($this->basedn), $filter, $attrs);
$this->error = @ldap_error($this->cid);
+ if ($this->error == "Size limit exceeded") {
+ global $config;
+ if (preg_match('/true/i', $config->get_cfg_value('sizelimitWarning'))) {
+ msg_dialog::display(_("Size Limit Exceeded"), sprintf(_("More than %d objects were found in a query, the rest is being ignored!"), session::global_get('size_limit')), WARNING_DIALOG);
+ }
+ }
$this->resetResult($srp);
$this->hasres[$srp]=true;
diff --git a/trunk/gosa-core/locale/core/de/LC_MESSAGES/messages.po b/trunk/gosa-core/locale/core/de/LC_MESSAGES/messages.po
index da8fccce5fef12209c82601297345ff88b994fb9..614858dcc17ce96556c8700c55d0af88c00f4c25 100644 (file)
msgid "Inconsistent DN encoding detected: '%s'"
msgstr "Inkonsistente Enkodierung der DN erkannt: '%s'"
+#: include/class_ldap.inc:230
+msgid "Size Limit Exceeded"
+msgstr "Mengenbeschränkung Ăberschritten"
+
+#: include/class_ldap.inc:230
+#, php-format
+msgid "More than %d objects were found in a query, the rest is being ignored!"
+msgstr ""
+"Mehr als %d Objekte wurden bei einer Abfrage gefunden, der Rest wird "
+"ignoriert!"
+
#: include/class_ldap.inc:234 include/class_ldap.inc:267
msgid "Performance warning"
msgstr "Leistungswarnung"
index 76063fe21cb68adc651e8504efdf7dfc5358a3cb..99e262e51c6efd6f50784754c4ada4e59af9435a 100644 (file)
msgid "Inconsistent DN encoding detected: '%s'"
msgstr ""
+#: include/class_ldap.inc:230
+msgid "Size Limit Exceeded"
+msgstr ""
+
+#: include/class_ldap.inc:230
+#, php-format
+msgid "More than %d objects were found in a query, the rest is being ignored!"
+msgstr ""
+
#: include/class_ldap.inc:234 include/class_ldap.inc:267
msgid "Performance warning"
msgstr ""