From: cajus Date: Thu, 3 Apr 2008 14:05:10 +0000 (+0000) Subject: Updated Feedback step to use ldap multiplexer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e90c065267f5022371a238b8072abb918d6b84c;p=gosa.git Updated Feedback step to use ldap multiplexer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10163 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setupStep_Feedback.inc b/gosa-core/setup/class_setupStep_Feedback.inc index 53993ce4a..cf89cf6d2 100644 --- a/gosa-core/setup/class_setupStep_Feedback.inc +++ b/gosa-core/setup/class_setupStep_Feedback.inc @@ -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();