From 8391726647dde803ef808c267bdac371d1570475 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 9 Feb 2007 07:16:14 +0000 Subject: [PATCH] Updated setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5713 594d385d-05f5-0310-b6e9-bd551577e9d8 --- setup/class_setupStep4.inc | 2 +- setup/setup_step4.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/class_setupStep4.inc b/setup/class_setupStep4.inc index b35d3a66b..bac087915 100644 --- a/setup/class_setupStep4.inc +++ b/setup/class_setupStep4.inc @@ -111,8 +111,8 @@ class setup_step_4 extends setup_step @ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7); $cid = @ldap_connect($this->connection); + @ldap_set_option($cid, LDAP_OPT_PROTOCOL_VERSION, 3); $ds = @ldap_bind($cid, $this->admin, $this->password); - @ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); if(!$ds){ $str = sprintf(_("Anonymous bind failed on server '%s'."),$this->connection); diff --git a/setup/setup_step4.tpl b/setup/setup_step4.tpl index 5b02f8ee3..92fb445db 100644 --- a/setup/setup_step4.tpl +++ b/setup/setup_step4.tpl @@ -34,7 +34,7 @@ {if $namingContextsCount >= 1} {else} -- 2.30.2