From 081982bf4aca8bd67a72d18fd5f43b371813d662 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 31 Dec 2007 13:07:33 +0000 Subject: [PATCH] Fix: debugage authentification ldap --- htdocs/lib/ldap.class.php | 2 +- htdocs/main.inc.php | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/htdocs/lib/ldap.class.php b/htdocs/lib/ldap.class.php index 9128a143607..7c5c38fc0a4 100644 --- a/htdocs/lib/ldap.class.php +++ b/htdocs/lib/ldap.class.php @@ -112,7 +112,7 @@ class Ldap //Server 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->ldapProtocolVersion = $conf->global->LDAP_SERVER_PROTOCOLVERSION; $this->dn = $conf->global->LDAP_SERVER_DN; diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 4a8861aefbd..4280a4429eb 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -117,11 +117,6 @@ if ($dolibarr_main_authentication == 'dolibarr') { $authmode=array('dolibarr'); } -// Authentication mode: dolibarr_mdb2 -if ($dolibarr_main_authentication == 'dolibarr_mdb2') -{ - $authmode=array('dolibarr_mdb2'); -} // Authentication mode: ldap if ($dolibarr_main_authentication == 'ldap') {