View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] LDAP Filter not upated - ProjeQtOr
 
 

[SOLVED] LDAP Filter not upated

More
05 Feb 2018 11:37 #1 by pleky
LDAP Filter not upated was created by pleky
Hello,

I'm trying to setup LDAP connection to an AD.

I've made some mistake like forgetting to install php-ldap (BTW it is with a - and not a _ like in the debug message)

Now I've got a "last issue" : I've corrected the filter string thanks to the forum, but on the log I still have a message like this one :
authenticate - Filter error : ldap_search returned no result for filter uid=%samaccountname%

I wasn't able to find this filter (even in parameters.php), and on the site global paramters I have the correct filter.

I guess the info is in the DB, is there a cache or something else to refresh ?

Thanks,

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 11:47 #2 by babynus
Replied by babynus on topic LDAP Filter not upated
Filter uid=%samaccountname%
It may be uid=%USERNAME%
or samaccountname=%USERNAME%
The %USERNAME% will be replaced with current login user name.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 12:14 #3 by pleky
Replied by pleky on topic LDAP Filter not upated
Hello Babynus,

Thanks for your quick feedback.

That's what I've done, it is on the interface setup and in the mysql DB =
sAMAccountName=%USERNAME%

But when I read the log file, I still have an old bad value :
authenticate - Filter error : ldap_search returned no result for filter uid=%samaccountname%)

And I'm not able to identify where uid=... comes from...

Any idea ?

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 12:46 #4 by babynus
Replied by babynus on topic LDAP Filter not upated
Check if you have same aprameter define in parameters.php file : value in the file overwrites db value.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 12:53 #5 by pleky
Replied by pleky on topic LDAP Filter not upated
I've tried to manually add the setting in parameters.php, but it looks like Projeqtor wasn't happy with this : error 500.

I've found that if I use private mode or another browser I no longer have the issue.

Do you know if the filter is pushed to the browser or if apache or PHP has a cache per session ?

Thanks,

Please Log in or Create an account to join the conversation.

More
05 Feb 2018 12:59 #6 by pleky
Replied by pleky on topic LDAP Filter not upated
Ok, I've found the issue :

there were some php session things remaining with the old filter.
I've check in /var/lib/php/session
and found two files including "uid="

I've deleted both, and now I can log :)

Thanks for your help, I can move to the next step
Regards

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.043 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.