Bug 1100321
| Summary: | [AAA] REST API request - add user different from admin to internal domain passed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yuri Obshansky <yobshans> |
| Component: | ovirt-engine | Assignee: | Yair Zaslavsky <yzaslavs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondra Machacek <omachace> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.0 | CC: | bazulay, gklein, iheim, lpeer, oliel, oourfali, oramraz, rbalakri, Rhev-m-bugs, sherold, yeylon, yzaslavs |
| Target Milestone: | --- | ||
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | org.ovirt.engine-root-3.5.0-14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-17 17:12:51 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: | |||
|
Description
Yuri Obshansky
2014-05-22 14:19:46 UTC
When the RESTAPI receives this request it creates a query to search the user, and the query is ignored by the "internal" directory, it always returns the "admin" user. I'm changing the bug to the backend component. Yair - what's the best way you think this should be addressed? Currently targeting that to 3.6, unless you say the fix is trivial. (In reply to Oved Ourfali from comment #2) > Yair - what's the best way you think this should be addressed? > Currently targeting that to 3.6, unless you say the fix is trivial. I remind you that the implementation for internal broker was that search always returns the Admin user. We can think of some fix that only if i search for a pattern that matches "admin" then a user will be returned. Not sure how much worth the hassle though. (In reply to Yair Zaslavsky from comment #3) > (In reply to Oved Ourfali from comment #2) > > Yair - what's the best way you think this should be addressed? > > Currently targeting that to 3.6, unless you say the fix is trivial. > > I remind you that the implementation for internal broker was that search > always returns the Admin user. > > We can think of some fix that only if i search for a pattern that matches > "admin" then a user will be returned. > > Not sure how much worth the hassle though. Moving to 3.6.0 in the meantime. *** Bug 1015856 has been marked as a duplicate of this bug. *** this bug status was moved to MODIFIED before engine vt5 was built, hence moving to on_qa, if this was mistake and the fix isn't in, please contact rhev-integ curl -k -X POST -H "Accept: application/xml" -H "Content-Type: application/xml" -H "Filter: $filter" -d "<user><domain><name>internal</name></domain><user_name>vdcalladmin</user_name></user>" -u $U $URL/users
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault>
<reason>Operation Failed</reason>
<detail>Entity not found: ADUSER@internal:: username=vdcalladmin</detail>
</fault>
rhev 3.5.0 was released. closing. |