Fix error level & Improve doc (#1976)

This commit is contained in:
Christophe Maudoux 2021-04-01 23:31:48 +02:00
parent c0db322ef0
commit 4751427105
3 changed files with 9 additions and 4 deletions

View File

@ -38,6 +38,10 @@ Just enable it in the Manager (section “plugins”). Then, set searching attri
Entries are sorted by alphabetical order.
.. attention::
LDAP filter works only if an objectClass is set.
.. attention::
Searching request is built based on provided parameters value depending on users backend like this:
@ -46,7 +50,7 @@ Just enable it in the Manager (section “plugins”). Then, set searching attri
.. danger::
This plugin works only with a users backend and the searching or excluding attributes must exist.
This plugin works only with a users backend and of course if the searching or excluding attributes are existing.
.. danger::

View File

@ -76,8 +76,9 @@ has findUserFilter => (
is => 'ro',
lazy => 1,
builder => sub {
$_[0]->conf->{AuthLDAPFilter}
|| $_[0]->conf->{LDAPFilter}
# $_[0]->conf->{AuthLDAPFilter} ||
$_[0]->conf->{LDAPFilter}
|| '(&(uid=$user)(objectClass=inetOrgPerson))';
}
);

View File

@ -76,7 +76,7 @@ my $json;
my $request;
my $client = LLNG::Manager::Test->new( {
ini => {
logLevel => 'debug',
logLevel => 'error',
authentication => 'Null',
userDB => 'REST',
passwordDB => 'Null',