Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 688622

Summary: mixed case hostname can cause issues and confusion
Product: Red Hat Enterprise Linux 6 Reporter: Rob Crittenden <rcritten>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: benl, dpal, jgalipea, nsoman
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.0.0-17.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:44:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Crittenden 2011-03-17 14:26:48 UTC
Description of problem:

On both ipa-server-install and ipa-client-install we should check that the hostname returned by the system is all lowercase. Failing to do so may cause issues to programs trying to guess the host principal name in the keytab. They may try to use the mixed case name and fail to match the lower case name as krb libraries consider principal names case-sensitive. 

https://fedorahosted.org/freeipa/ticket/1080

Comment 5 Rob Crittenden 2011-03-17 16:32:05 UTC
Test on both client and server the hostname in /etc/hosts with mixed-case.

Remove mixed case from /etc/hosts.

Test on client with: ipa-client-install --hostname=<mixed-case hostname> ...

Test on server with: ipa-server-install --hostname=<mixed-case hostname> ...

Test on client and server by running: hostname=<mixed-case hostname> and then run the respective installer.

Comment 6 Rob Crittenden 2011-03-22 19:00:30 UTC
master: 15e213d0258f69feaf6031a8721902f63c864ac2

Comment 8 Namita Soman 2011-04-08 16:57:55 UTC
verified with version:
ipa-client-2.0.0-20.el6.x86_64
ipa-server-2.0.0-20.el6.x86_64

# ipa-server-install --setup-dns --forwarder=10.14.63.12 --hostname=RHEL61-server5.testrelm -r TESTRELM -p Secret123 -P Secret123 -a Secret123 
Install fails with error:
 Invalid hostname 'RHEL61-server5.testrelm', must be lower-case.


# ipa-client-install  --hostname=RHEL61-client.testrelm
Invalid hostname 'RHEL61-client.testrelm', must be lower-case.

Comment 9 errata-xmlrpc 2011-05-19 13:44:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0631.html