Code

Added initial department migration step.
[gosa.git] / setup / class_setupStep_Ldap.inc
index 4fb1ebe6c9c57573df2366ba083c9cde0632a30c..c36f8ca79e90de405c11fc4193ee1044b5feb9d3 100644 (file)
@@ -35,9 +35,10 @@ class Step_Ldap extends setup_step
   var $resolve_user   = FALSE;
   var $tls            = FALSE;
 
-  var $attributes = array("connection","location","admin","password","base","tls");
-  var $header_image= "images/proxy.png";
+  var $rfc2307bis             = FALSE;
+  var $attributes = array("connection","location","admin","password","base","tls","rfc2307bis");
 
+  var $header_image= "images/proxy.png";
 
   function Step_Ldap()
   {
@@ -156,7 +157,7 @@ class Step_Ldap extends setup_step
     }
 
     $this->get_connection_status();
-    if($this->bind_id){
+    if($this->bind_id && !empty($this->admin)){
       $this->is_completed =TRUE;
     }else{
       $this->is_completed =FALSE;