Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
Hi. good day.
I have configured LDAP and everything is fine.
The problem is when I try to login with LDAP users.
It generates an error like the following one:
2017-03-22 13: 46: 45.697 ** ERROR ** cause = ldap_search (): Search: Bad search filter
My question is what data should I put on the line:
$ ParamLdap_user_filter = '';
What is in the file:
../config/parameters.php
regards,
All depends on your LDAP configuration.
Here are some exemples
$paramLdap_user_filter = 'uid=%USERNAME%';
Default value. Should works with most "ldap" such as Open Ldap
$paramLdap_user_filter = 'sAMAccountName=%USERNAME%';
Best guess for AD
$paramLdap_user_filter = 'cn=%USERNAME%';
May also work for AD
$paramLdap_user_filter = '(&(objectCategory=person)(objectClass=user)(givenName=*)(sn=*))';
An exemple that worked for a user.
NB : search for $paramLdap_user_filter in the forum...
okay. It works well. regards