index dc0b9898ce2deb71271a5938b6c6165340bff9a9..c36f8ca79e90de405c11fc4193ee1044b5feb9d3 100644 (file)
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()
{
return("<font color='red'>".$str."</font>");
}else{
if(empty($this->admin)){
- $str = sprintf(_("Anonymous bind successful on server '%s'. Please specify user and password."),$this->connection);
+ $str = sprintf(_("Anonymous bind on server '%s' succeeded. Please specify user and password."),$this->connection);
return("<font color='blue'>".$str."</font>");
}else{
- $str = sprintf(_("Bind as user '%s' successful on server '%s'."),$this->admin,$this->connection);
+ $str = sprintf(_("Bind as user '%s' on server '%s' succeeded."),$this->admin,$this->connection);
return("<font color='green'>".$str."</font>");
}
}
}
$this->get_connection_status();
- if($this->bind_id){
+ if($this->bind_id && !empty($this->admin)){
$this->is_completed =TRUE;
}else{
$this->is_completed =FALSE;