Bug 688622 - mixed case hostname can cause issues and confusion
Summary: mixed case hostname can cause issues and confusion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-17 14:26 UTC by Rob Crittenden
Modified: 2015-01-04 23:47 UTC (History)
4 users (show)

Fixed In Version: ipa-2.0.0-17.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:44:42 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0631 0 normal SHIPPED_LIVE new package: ipa 2011-05-18 17:55:55 UTC

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


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