Yair Zaslavsky has posted comments on this change.

Change subject: aaa: Fix search to search properly for users by groups
......................................................................


Patch Set 2:

Hi Eli, sure:
We ran into the following scenario:
Using the generic-ldap provider we are searching for users and groups from 
QADOMAIN.
We have a user "alonbl" which is member of several groups -
alonbl-grp1, alonbl2-grp2, alonbl2-grp3.
If we first add all the groups, and then add the user, and then perform the 
following search:
users:group=alonbl-grp* - this works , and show user alonbl.
However, if we perform
users:group=alonbl-grp2  - this does not work.
The reason is that the generated SQL contains an ILIKE 'alonbl-grp2' which is 
incorrect for this case .

-- 
To view, visit http://gerrit.ovirt.org/32153
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I14e795926cb57de15b628587d5c3df427518720a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to