Code

Added fix to allow \2c dns to be moved ...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Mar 2006 05:36:54 +0000 (05:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Mar 2006 05:36:54 +0000 (05:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2835 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index 7d65a04b2665a5f795a6667fd79e45b0106dca66..be887cf55e9d4ca66520c6f92f0640d14cc17e5d 100644 (file)
@@ -608,7 +608,7 @@ class plugin
 
     $r=ldap_bind($ds,$this->config->current['ADMIN'], $this->config->current['PASSWORD']);
     error_reporting (0);
-    $sr=ldap_read($ds, $src_dn, "objectClass=*");
+    $sr=ldap_read($ds, $ldap->fix($src_dn), "objectClass=*");
 
     /* Fill data from LDAP */
     $new= array();