From a515bf776a1fbd975d0dae6d0395cd9632eade27 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Jun 2006 06:54:15 +0000 Subject: [PATCH] added error messages to ldap import git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3786 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ldap.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2