Bug 1139729

Summary: webadmin and restapi shows wrong domain part of user_name(authz instead of ovirt.engine.aaa.authn.profile.name)
Product: [Retired] oVirt Reporter: Ondra Machacek <omachace>
Component: ovirt-engine-coreAssignee: bugs <bugs>
Status: CLOSED NOTABUG QA Contact: Ondra Machacek <omachace>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: alonbl, ecohen, gklein, iheim, lpeer, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-09 14:21:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1076964    

Description Ondra Machacek 2014-09-09 14:00:14 UTC
Description of problem:


Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.10.master.el6ev.noarch

How reproducible:
always

Steps to Reproduce:
1. Add some external provider.
2. See the user_names of users
https://localhost/api/domains/6c646170-2d61-7574-687a-2d61645f6164/users


Actual results:
user@authz

Expected results:
user@authn_profile_name


Additional info:
Same problem is in webadmin.

Comment 1 Alon Bar-Lev 2014-09-09 14:21:23 UTC
this is by design, the user is from the authz not from profile, as there may be multiple profiles with same authz.
for legacy providers profile == authz so no change in this regard.
for new providers this is not mandatory any more.

Comment 2 Ondra Machacek 2014-09-09 14:36:40 UTC
How can I distinguish(in webmadin/rest) between users with same name when I have 
two profiles with same authz? They will be displayed same...

Comment 3 Alon Bar-Lev 2014-09-09 14:40:07 UTC
(In reply to Ondra Machacek from comment #2)
> How can I distinguish(in webmadin/rest) between users with same name when I
> have 
> two profiles with same authz? They will be displayed same...

it is the same user... just two method to authenticate into that user.