Bug 1692811

Summary: Attempt to fix capitalization fails with ipa: ERROR: Type or value exists:
Product: Red Hat Enterprise Linux 8 Reporter: Thomas Woerner <twoerner>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: fcami, ipa-maint, jpazdziora, ksiddiqu, pasik, pvoborni, rcritten, sumenon, tbordaz, tscherf, wbtf06
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.8.0-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1334619 Environment:
Last Closed: 2019-11-05 20:53:02 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: 1334619    
Bug Blocks:    

Comment 4 Sudhir Menon 2019-08-12 10:12:05 UTC
Marking the bug as VERIFIED.

[root@master ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.1 Beta (Ootpa)

[root@master ~]# rpm -q ipa-server
ipa-server-4.8.0-6.module+el8.1.0+3869+84a20141.x86_64

[root@master ~]# kinit admin
Password for admin: 
[root@master ~]# ipa user-add david --first=david --last=smith
------------------
Added user "david"
------------------
  User login: david
  First name: david
  Last name: smith
  Full name: david smith
  Display name: david smith
  Initials: ds
  Home directory: /home/david
  GECOS: david smith
  Login shell: /bin/sh
  Principal name: david
  Principal alias: david
  Email address: david
  UID: 147200003
  GID: 147200003
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False

[root@master ~]# echo Oops, the names should have caps.
Oops, the names should have caps.

[root@master ~]# ipa user-mod david --first=David --last=Smith

---------------------
Modified user "david"
---------------------
  User login: david
  First name: David
  Last name: Smith
  Home directory: /home/david
  Login shell: /bin/sh
  Principal name: david
  Principal alias: david
  Email address: david
  UID: 147200003
  GID: 147200003
  Account disabled: False
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False


[root@master ~]# ipa user-find
  User login: david
  First name: David
  Last name: Smith
  Home directory: /home/david
  Login shell: /bin/sh
  Principal name: david
  Principal alias: david
  Email address: david
  UID: 147200003
  GID: 147200003
  Account disabled: False

Comment 6 errata-xmlrpc 2019-11-05 20:53:02 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.

https://access.redhat.com/errata/RHBA-2019:3348