Code

Updated Setup Step LDAP
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Oct 2008 09:50:29 +0000 (09:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Oct 2008 09:50:29 +0000 (09:50 +0000)
-Fixed ldap object initialization for ldap admin propose dialog

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12652 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setupStep_Ldap.inc

index 006a1e83a454d1b69f34a4ff5bd4ea79b3d590c7..8b9ed80c677c027547ed2fe54847d57e322dff23 100644 (file)
@@ -122,7 +122,11 @@ class Step_Ldap extends setup_step
   function resolve_user()
   {
     $filter  = $this->resolve_filter;
-    $ldap = new LDAP("","",$this->connection);
+
+    /* Establish ldap connection */
+    $cv = $this->parent->captured_values;
+    $ldap_l = new LDAP("","",$this->connection, FALSE, $this->tls);
+    $ldap = new ldapMultiplexer($ldap_l);
     $ldap->cd($this->base);
     $ldap->search("(&(objectClass=person)(|(uid=".$filter.")(cn=".$filter.")))");
     $tmp = array();