summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9de00de)
raw | patch | inline | side by side (parent: 9de00de)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Feb 2009 09:59:52 +0000 (09:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 6 Feb 2009 09:59:52 +0000 (09:59 +0000) |
-creation of the root DSE wasn't working for single objects e.g. "dc=test"
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13390 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13390 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history |
index 81e7dd044edf49c60ecf7343342f5d1aadffc287..f3baf144d8905d58dbe1322c9460fac2f860562e 100644 (file)
} else {
$type= preg_replace('/^([^=]+)=.*$/', '\\1', $cdn);
- $param= preg_replace('/^[^=]+=([^,]+),.*$/', '\\1', $cdn);
+ $param= preg_replace('/^[^=]+=([^,]+).*$/', '\\1', $cdn);
$na= array();
$this->add($na);
if (!$this->success()){
+
+ print_a(array($cdn,$na));
+
msg_dialog::display(_("LDAP error"), msgPool::ldaperror($this->get_error(), $cdn, LDAP_ADD, get_class()));
return FALSE;
}