Bug 1101552 - identity name reports extraneous "URI:CN=" suffix
Summary: identity name reports extraneous "URI:CN=" suffix
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.11
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel511
TreeView+ depends on / blocked
 
Reported: 2014-05-27 13:53 UTC by John Sefler
Modified: 2014-09-16 00:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-16 00:23:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1225 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2014-09-16 04:15:23 UTC

Description John Sefler 2014-05-27 13:53:00 UTC
Description of problem:
I suspect that a consequence of the candlepin fix for bug 1094492 is an extraneous suffix to the subscription-manager identity report for name.

I think the subscription-manager and python-rhsm commits in https://bugzilla.redhat.com/show_bug.cgi?id=1094492#c1 should be cherry picked to RHEL5.11.

Version-Release number of selected component (if applicable):
[root@jsefler-5 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.12-1
subscription-manager: 1.11.3-4.el5
python-rhsm: 1.11.3-3.el5


How reproducible:


Steps to Reproduce:
[root@jsefler-5 ~]# subscription-manager register --name "Mr_Test_User_1st"
Username: testuser1
Password: 
Organization: admin
The system has been registered with ID: 5b4322ff-7885-4386-893c-b52210817f4e 
[root@jsefler-5 ~]# subscription-manager identity
system identity: 5b4322ff-7885-4386-893c-b52210817f4e
name: URI:CN=Mr_Test_User_1st
org name: Admin Owner
org ID: admin


Actual results:
name: URI:CN=Mr_Test_User_1st

Expected results:
name: Mr_Test_User_1st

Comment 1 William Poteat 2014-05-28 17:15:52 UTC
commit cherry-picked from master

Comment 2 RHEL Program Management 2014-07-14 14:47:59 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 3 John Sefler 2014-07-15 21:47:27 UTC
Verifying Version...
[root@jsefler-5 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.21-1
subscription-manager: 1.11.3-9.el5
python-rhsm: 1.11.3-4.el5


[root@jsefler-5 ~]# subscription-manager register --name "Mr_Test_User_1st"
Username: testuser1
Password: 
Organization: admin
The system has been registered with ID: 036aefb0-7f0a-469b-83c1-d76070747129 
[root@jsefler-5 ~]# subscription-manager identity
system identity: 036aefb0-7f0a-469b-83c1-d76070747129
name: Mr_Test_User_1st
org name: Admin Owner
org ID: admin


VERIFIED: identity name no longer reports extraneous "URI:CN=" suffix



Additional Info...
[root@jsefler-5 ~]# rct cat-cert /etc/pki/consumer/cert.pem 

+-------------------------------------------+
	Identity Certificate
+-------------------------------------------+

Certificate:
	Path: /etc/pki/consumer/cert.pem
	Version: 1.0
	Serial: 3835612422207204341
	Start Date: 2014-07-15 21:45:02+00:00
	End Date: 2030-07-15 21:45:02+00:00
	Alt Name: URI:CN=Mr_Test_User_1st

Subject:
	CN: 036aefb0-7f0a-469b-83c1-d76070747129

Issuer:
	C: US
	CN: jsefler-f14-candlepin.usersys.redhat.com
	L: Raleigh

Comment 5 errata-xmlrpc 2014-09-16 00:23:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1225.html


Note You need to log in before you can comment on or make changes to this bug.