Ajout pour débuggage ldap
This commit is contained in:
parent
0bd66a0837
commit
6a89ba4277
@ -219,7 +219,7 @@ class Ldap
|
|||||||
{
|
{
|
||||||
//$this->bind=???? Comment positionne-t-on bind avec activedirectory ?
|
//$this->bind=???? Comment positionne-t-on bind avec activedirectory ?
|
||||||
//si bind non défini, les autres fonctions échouent
|
//si bind non défini, les autres fonctions échouent
|
||||||
$connected=2;
|
$connected=3;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -786,8 +786,14 @@ class Ldap
|
|||||||
// Define filter
|
// Define filter
|
||||||
if ($activefilter == 1)
|
if ($activefilter == 1)
|
||||||
{
|
{
|
||||||
if ($this->filter) $filter = '('.$this->filter.')';
|
if ($this->filter)
|
||||||
else $filter='('.$useridentifier.'=*)';
|
{
|
||||||
|
$filter = '('.$this->filter.')';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$filter='('.$useridentifier.'=*)';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user