From: hickert Date: Fri, 9 Feb 2007 07:16:14 +0000 (+0000) Subject: Updated setup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8391726647dde803ef808c267bdac371d1570475;p=gosa.git Updated setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5713 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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}