diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index 02cb696f9ad6a50966b94f2d22478350952a89ed..e5809d72099e075eb69c1fdbd23d80e1c098f6b7 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
}
$real_path= substr($target, 0, strlen($target) - strlen($this->basedn) -1 );
- $l= array_reverse(ldap_explode_dn($real_path,0));
+ $l= array_reverse(gosa_ldap_explode_dn($real_path));
unset($l['count']);
$cdn= $this->basedn;
$tag= "";
if(isset($data['dn'])) {
/* Fix dn */
- $tmp = ldap_explode_dn($data['dn'],0);
+ $tmp = gosa_ldap_explode_dn($data['dn']);
unset($tmp['count']);
$newdn ="";
foreach($tmp as $tm){