Based on bz 1197674
ipa-client-install is not able to succeed if IP address is provided because:
ipa-join
--server
libcurl failed to execute the HTTP POST transaction, explaining: Unable to communicate securely with peer: requested domain name does not match the server's certificate.
In theory it is possible to have a hostname which consists only of numbers but it's not recommended and probably very rare.
Therefore ipa-client-install should print a warning message if IP address is used.
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1197674 (Fedora)
an alternative may be to use reverse dns lookup to get the server name but I would rather print the warning/error
stretch goal in 4.2 backlog
We should at least print the validation error to make sure admin does not use IP address.
master:
ipa-4-2:
Metadata Update from @pvoborni: - Issue assigned to stlaz - Issue set to the milestone: FreeIPA 4.2.1
Login to comment on this ticket.