#1717 hostname is not verified when --setup-dns -U are used
Closed: Fixed None Opened 12 years ago by simo.

If we are setting up our own DNS then the server hostname is not checked to make sure it correspond to the fqdn we plan to use with ipa.
This means the ipa server may fail to work properly with those services that use gethostname() to determine the fqdn part of service principal names in the keytabs.

We should either abort the install or warn loudly that if the hostname is not fixed things may not work as expected.

Another option is to allow ipa-server-install to update the hostname accordingly to the expected name.


Reopening the ticket, ipa-replica-prepare not always reports the warning:

# ipa-replica-prepare vm-050.idm.lab.bos.redhat.com
Warning: The host name 'vm-050.idm.lab.bos.redhat.com' does not match the system host name 'vm-134.idm.lab.bos.redhat.com'.
         Some services may not work properly.
Directory Manager (existing master) password:

Follow-up fix:

master: 5cd121d[[BR]]
ipa-2-1: f4089ad

Metadata Update from @simo:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata