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

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

[SOLVED] LDAP Filter not upated

More
05 Fév 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 Connexion or Create an account to join the conversation.

More
05 Fév 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 Connexion or Create an account to join the conversation.

More
05 Fév 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 Connexion or Create an account to join the conversation.

More
05 Fév 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 Connexion or Create an account to join the conversation.

More
05 Fév 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 Connexion or Create an account to join the conversation.

More
05 Fév 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 Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.048 seconds

Paramétrages de cookies

×

Cookies fonctionnels

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

Veuillez vous connecter pour voir vos activités!

Autres cookies

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