Code

Allow importing ldifs with colons in dn.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Mar 2007 07:08:44 +0000 (07:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Mar 2007 07:08:44 +0000 (07:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5917 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_ldap.inc

index c8397fd4a326badc91e8f109193b422de0a88c88..b3ae4983b38e7ac0bfd609cd4e391325114fc3b2 100644 (file)
@@ -991,7 +991,7 @@ class LDAP{
       $ndn = split("#", $lineone[0]);
       $line = base64_decode($ndn[1]);
 
-      $dnn = split (":",$line);
+      $dnn = split (":",$line,2);
       $current_line = $ndn[0];
       $dn    = $dnn[0];
       $value = $dnn[1];