Clean code

This commit is contained in:
Laurent Destailleur
2021-06-15 20:16:05 +02:00
parent adfbb9d7d5
commit 3a5770f679
8 changed files with 45 additions and 20 deletions

View File

@@ -22,6 +22,10 @@
/**
* \file htdocs/core/class/ldap.class.php
* \brief File of class to manage LDAP features
*
* Note:
* LDAP_ESCAPE_FILTER is to escape char array('\\', '*', '(', ')', "\x00")
* LDAP_ESCAPE_DN is to escape char array('\\', ',', '=', '+', '<', '>', ';', '"', '#')
*/
/**
@@ -132,6 +136,7 @@ class Ldap
$this->ldapProtocolVersion = $conf->global->LDAP_SERVER_PROTOCOLVERSION;
$this->dn = $conf->global->LDAP_SERVER_DN;
$this->serverType = $conf->global->LDAP_SERVER_TYPE;
$this->domain = $conf->global->LDAP_SERVER_DN;
$this->searchUser = $conf->global->LDAP_ADMIN_DN;
$this->searchPassword = $conf->global->LDAP_ADMIN_PASS;