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

Prochaines Sessions

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

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

5 novembre (10h30-12h)

3 décembre (16h-17h30)

 
 

Planifiez avec ProjeQtOr

19 et 20 novembre (14h - 17h30)

 
 

Administrez avec ProjeQtOr

26 et 27 novembre (14h - 17h30)

 

 

 

[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 Connexion 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 Connexion 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 Connexion 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 Connexion 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 Connexion 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 Connexion or Create an account to join the conversation.

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