Fix: debugage authentification ldap
This commit is contained in:
parent
91fe41a5ad
commit
081982bf4a
@ -112,7 +112,7 @@ class Ldap
|
|||||||
|
|
||||||
//Server
|
//Server
|
||||||
if ($conf->global->LDAP_SERVER_HOST) $this->server[] = $conf->global->LDAP_SERVER_HOST;
|
if ($conf->global->LDAP_SERVER_HOST) $this->server[] = $conf->global->LDAP_SERVER_HOST;
|
||||||
if ($conf->global->LDAP_SERVER_HOST_SLAVE) $this->server[] = $conf->global->LDAP_SERVER_HOST_SLAVE;
|
if ($conf->global->LDAP_SERVER_HOST_SLAVE) $this->server[] = $conf->global->LDAP_SERVER_HOST_SLAVE;
|
||||||
$this->serverPort = $conf->global->LDAP_SERVER_PORT;
|
$this->serverPort = $conf->global->LDAP_SERVER_PORT;
|
||||||
$this->ldapProtocolVersion = $conf->global->LDAP_SERVER_PROTOCOLVERSION;
|
$this->ldapProtocolVersion = $conf->global->LDAP_SERVER_PROTOCOLVERSION;
|
||||||
$this->dn = $conf->global->LDAP_SERVER_DN;
|
$this->dn = $conf->global->LDAP_SERVER_DN;
|
||||||
|
|||||||
@ -117,11 +117,6 @@ if ($dolibarr_main_authentication == 'dolibarr')
|
|||||||
{
|
{
|
||||||
$authmode=array('dolibarr');
|
$authmode=array('dolibarr');
|
||||||
}
|
}
|
||||||
// Authentication mode: dolibarr_mdb2
|
|
||||||
if ($dolibarr_main_authentication == 'dolibarr_mdb2')
|
|
||||||
{
|
|
||||||
$authmode=array('dolibarr_mdb2');
|
|
||||||
}
|
|
||||||
// Authentication mode: ldap
|
// Authentication mode: ldap
|
||||||
if ($dolibarr_main_authentication == 'ldap')
|
if ($dolibarr_main_authentication == 'ldap')
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user