Bug #1817

Ldap rules doesn't work with regex and multipe result values

Added by walid over 11 years ago. Updated over 11 years ago.

Status:ClosedStart date:10/02/2009
Priority:NormalDue date:
Assignee:walid% Done:

100%

Category:Authentication
Target version:0.72.3

Description

Example :
Rule :
- if LDAP group regex checks /(.*)/
- affect entity by DN #0

In then entity :
- entity DN : a GLPI group mapped on an LDAP group

- The user has more than one group from the directory
- One of the groups matched the rule, but it's not the first group

- The rulesengine only takes the first group
Correct behaviour by being able to store an array in each regex_result entry

Associated revisions

Revision 9117
Added by walid over 11 years ago

fixed #1817 Ldap rules doesn't work with regex and multipe result values

Revision 9118
Added by walid over 11 years ago

see #1817 Fix previous commit

Revision 9132
Added by walid over 11 years ago

[0.72] see #1817 Try to avoid assignation to Root entity when no entity found

Revision 9215
Added by walid over 11 years ago

see #1817 Apply 0.72 patch on trunk

History

#1 Updated by walid over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r9117.

#2 Updated by remi over 11 years ago

All tests (I could do) succeed
- ldap attribute to profile + entity
- ldap attribute with regex to profile + entity by Tag (with different result)
- gourp by Ou in user attribute = OU
- group by Ou in Group DN
- group by other user attribute
- group by Group DN

#3 Updated by walid over 11 years ago

  • Status changed from Resolved to Closed

ok je ferme

Also available in: Atom PDF