View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Specific group for LDAP connections - ProjeQtOr
 
 

[SOLVED] Specific group for LDAP connections

More
12 Jan 2023 10:49 #1 by Infra_Kev
Hey 

I have a problem with LDAP, I want to do a filter with a specific group : "PROJ_USERS".
But when I try to modify paramLdap_user_filter in parameters.php i have no idea what to write.

I try sAMAcountName=%USERNAME%,MemberOf="PROJ_USERS" or change to (&(objectclass=person)(memberof=PROJ_USERS) but it doesn't work.

help please 

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

More
12 Jan 2023 11:41 #2 by Plucks
Hello,
You are not supposed to modify the parameters.php file.
With an administrator profile, you should use Global parameters, Authentication tab, and Ldap management parameters to change or use any filter of your choice.

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

More
12 Jan 2023 12:12 #3 by Infra_Kev
Yes i know, but i have a bug with the save and my file parameters.php doesn't update

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

More
12 Jan 2023 18:13 #4 by babynus
I think syntax should be something like
(&(sAMAccountName=%USERNAME%)(memberof=PROJ_USERS))
Bur best is to request an AD expert for correct syntax

Babynus
Administrator of ProjeQtOr web site

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

More
13 Jan 2023 09:20 - 13 Jan 2023 09:31 #5 by Infra_Kev
it doesn't work

2023-01-13 09:18:14.357 ***** ERROR ***** [V10.2.1] ERROR *****
2023-01-13 09:18:14.359 ***** ERROR ***** [V10.2.1] on file 'C:\...\projeqtor\model\UserMain.php' at line (1547)
2023-01-13 09:18:14.360 ***** ERROR ***** [V10.2.1] cause = ldap_search(): Search: Bad search filter

EDIT : ok, I did a fault hehe 

2023-01-13 09:22:56.882 ===== TRACE ===== authenticate - Filter error : ldap_search returned no result for filter (& (sAMAccountName=XXX)(MemberOf=PROJ_USERS)))
2023-01-13 09:22:56.884 ===== TRACE ===== Login error for user 'XXX'
Last edit: 13 Jan 2023 09:31 by Infra_Kev.

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

More
13 Jan 2023 16:46 #6 by babynus
Here is some syntax found on the web. 
Try something like that.
(&(objectCategory=Person)(sAMAccountName=%USERNAME%)(memberOf=cn=CaptainPlanet,ou=users,dc=company,dc=com))

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.036 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.