Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 693596 Details for
Bug 892631
When user log in to UserPortal(or UserLevelAPI) then user_name of this user is changed.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Backport upstream patch to RHEV 3.1
rhevm-3.1.0-preserve-user-domain.patch (text/plain), 1.33 KB, created by
Ian Pilcher
on 2013-02-06 00:30:10 UTC
(
hide
)
Description:
Backport upstream patch to RHEV 3.1
Filename:
MIME Type:
Creator:
Ian Pilcher
Created:
2013-02-06 00:30:10 UTC
Size:
1.33 KB
patch
obsolete
>diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DbUser.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DbUser.java >index 9862209..d349fa7 100644 >--- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DbUser.java >+++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DbUser.java >@@ -373,7 +373,7 @@ public class DbUser extends DbUserBase implements Serializable { > > public DbUser(AdUser adUser) { > setuser_id(adUser.getUserId()); >- setusername(adUser.getUserName()); >+ setusername(getFullUserName(adUser)); > setname(adUser.getName()); > setsurname(adUser.getSurName()); > setdepartment(adUser.getDepartment()); >@@ -384,6 +384,14 @@ public class DbUser extends DbUserBase implements Serializable { > setGroupIds(adUser.getGroupIds()); > } > >+ private String getFullUserName(AdUser adUser) { >+ String userName = adUser.getUserName(); >+ if (userName.indexOf("@") == -1) { >+ userName = userName + "@" + adUser.getDomainControler(); >+ } >+ return userName; >+ } >+ > public AdRefStatus getAdStatus() { > if (getstatus() == 0) { > return AdRefStatus.Inactive;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 892631
: 693596