Code

Fixed double check in ldap setup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 May 2007 13:18:47 +0000 (13:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 May 2007 13:18:47 +0000 (13:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6267 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Ldap.inc

index 53ffb364b470eccffb7c3bc97b08ecf8fd68e576..429c4f16439b020fa68ba116ac143360c91d540d 100644 (file)
@@ -158,13 +158,6 @@ class Step_Ldap extends setup_step
       }
     }
 
-    $this->get_connection_status();
-    if($this->bind_id && !empty($this->admin) && !empty($this->base)){
-      $this->is_completed =TRUE;
-    }else{
-      $this->is_completed =FALSE;
-    }
-
     if(isset($_POST['append_base_to_admin_dn'])){
       $this->append_base_to_admin_dn = TRUE;
     }else{
@@ -180,6 +173,14 @@ class Step_Ldap extends setup_step
     }else{
       $this->admin = $this->admin_given;
     }
+
+    $this->get_connection_status();
+    if($this->bind_id && !empty($this->admin) && !empty($this->base)){
+      $this->is_completed =TRUE;
+    }else{
+      $this->is_completed =FALSE;
+    }
+
   }
 }