Code

Updated Feedback step to use ldap multiplexer
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Apr 2008 14:05:10 +0000 (14:05 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 3 Apr 2008 14:05:10 +0000 (14:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10163 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/class_setupStep_Feedback.inc

index 53993ce4ae95bc46a065a4dc9624764a2ada1e22..cf89cf6d2e0ef59bd43f9830bb9a4c029e0db7fa 100644 (file)
@@ -73,13 +73,15 @@ class Step_Feedback  extends setup_step
     $this->web_server     = $_SERVER['SERVER_SOFTWARE'];
     $this->php_version    = PHP_VERSION;
 
-    /* On first call check for rid/sid base */
+    /* Establish ldap connection */
     $cv = $this->parent->captured_values;
-    $ldap = new LDAP($cv['admin'],
+    $ldap_l = new LDAP($cv['admin'],
         $cv['password'],
         $cv['connection'],
         FALSE,
         $cv['tls']);
+
+    $ldap = new ldapMultiplexer($ldap_l);
     $ldap->cd($cv['base']);
     $ldap->search("(objectClass=*)",array("dn"));
     $this->object_count=$ldap->count();