From: hickert Date: Thu, 29 Mar 2007 07:08:44 +0000 (+0000) Subject: Allow importing ldifs with colons in dn. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aeb68bbf73293004aea2556ef134523ee3195e20;p=gosa.git Allow importing ldifs with colons in dn. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5917 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ldap.inc b/include/class_ldap.inc index c8397fd4a..b3ae4983b 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -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];