From a689bb1daedb4dae06dae3017f93b5957f4b47a2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Oct 2008 09:50:29 +0000 Subject: [PATCH] Updated Setup Step LDAP -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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gosa-core/setup/class_setupStep_Ldap.inc b/gosa-core/setup/class_setupStep_Ldap.inc index 006a1e83a..8b9ed80c6 100644 --- a/gosa-core/setup/class_setupStep_Ldap.inc +++ b/gosa-core/setup/class_setupStep_Ldap.inc @@ -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(); -- 2.30.2