From: hickert Date: Tue, 13 Jun 2006 06:54:15 +0000 (+0000) Subject: added error messages to ldap import X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a515bf776a1fbd975d0dae6d0395cd9632eade27;p=gosa.git added error messages to ldap import git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3786 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ldap.inc b/include/class_ldap.inc index 7b82a8b32..0f4926c1e 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -1060,7 +1060,7 @@ function gen_xls ($dn, $filter= "(objectClass=*)", $attributes= array('*'), $rec /* Delete existing entry */ if($delete){ - $this->rmdir($data['dn']); + $this->rmdir_recursive($data['dn']) } /* Create missing trees */ @@ -1074,7 +1074,7 @@ function gen_xls ($dn, $filter= "(objectClass=*)", $attributes= array('*'), $rec $ret = $this->modify($data); } } - + show_ldap_error($this->get_error(),_("Ldap import failed")); return($ret); }