Bug 1131179
Summary: | [AAA] group roles not inherited by members of the group when the OU of the group contains upper case letters | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine-extension-aaa-ldap | Reporter: | wdaniel |
Component: | Core | Assignee: | Alon Bar-Lev <alonbl> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondra Machacek <omachace> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | --- | CC: | alonbl, bazulay, benglish, bugs, dornelas, ecohen, gklein, iheim, lpeer, lsurette, omachace, oourfali, prmarino1, pstehlik, rbalakri, Rhev-m-bugs, yeylon, yzaslavs |
Target Milestone: | --- | Keywords: | FutureFeature, Improvement |
Target Release: | 1.0.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | infra | ||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1131155 | Environment: | |
Last Closed: | 2014-10-17 12:36:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1131155 | ||
Bug Blocks: | 1063095 |
Description
wdaniel
2014-08-18 15:43:08 UTC
the issue does exist in 3.4 Ondra, can you please setup group and matching user on ADW-W2K12RC2 ? Thanks! I have tested with the setup you provided on 3.5 , and it does not work as well. OU: dn: OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com Group: dn: CN=QA-Group,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com User: dn: CN=qa1,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com I wonder if this is setup issue, or something else. With other users and groups in the setup - it works. Alon - anything to add here at this stage? (In reply to Yair Zaslavsky from comment #3) > I have tested with the setup you provided on 3.5 , and it does not work as > well. > > OU: > dn: OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com > > Group: > dn: > CN=QA-Group,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat, > DC=com > > User: > dn: > CN=qa1,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com > > I wonder if this is setup issue, or something else. > With other users and groups in the setup - it works. > > Alon - anything to add here at this stage? The authz provider (the generic ldap one) returns an empty list of groups for the qa1 user. Some of the searches return valid response, some are not. Probably the gc is not synchronized throughout domain. $ dig @brq-w2k12r2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com SRV _gc._tcp.ad-w2k12r2.rhev.lab.eng.brq.redhat.com _gc._tcp.ad-w2k12r2.rhev.lab.eng.brq.redhat.com. 600 IN SRV 0 100 3268 win-23q60qfkb3d.ad-w2k12r2p.rhev.lab.eng.brq.redhat.com. _gc._tcp.ad-w2k12r2.rhev.lab.eng.brq.redhat.com. 600 IN SRV 0 100 3268 brq-w2k12r2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com. $ ldapsearch -E pr=100/noprompt -o ldif-wrap=no -p 3268 -h brq-w2k12r2.ad-w2k12r2.rhev.lab.eng.brq.redhat.com -x -w Heslo123 -D 'user3.lab.eng.brq.redhat.com' -b '' '(&(objectCategory=group)(groupType:1.2.840.113556.1.4.803:=2147483648)(member:1.2.840.113556.1.4.1941:=CN=qa1,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com))' cn dn: CN=QA-Group,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com cn: QA-Group $ ldapsearch -E pr=100/noprompt -o ldif-wrap=no -p 3268 -h win-23q60qfkb3d.ad-w2k12r2p.rhev.lab.eng.brq.redhat.com. -x -w Heslo123 -D 'user3.lab.eng.brq.redhat.com' -b '' '(&(objectCategory=group)(groupType:1.2.840.113556.1.4.803:=2147483648)(member:1.2.840.113556.1.4.1941:=CN=qa1,OU=rh-Brno,DC=ad-w2k12r2,DC=rhev,DC=lab,DC=eng,DC=brq,DC=redhat,DC=com))' *** Bug 1131155 has been marked as a duplicate of this bug. *** ok, renaming back as the original issue is unrelated to new implementation. per comment#5, different issue and will be solved separately. not sure why it was cloned. oVirt 3.5 has been released and should include the fix for this issue. |