[Freeipa-devel] [PATCH] 34 Make sure that hostname specified by user is not an IP address
Jan Cholasta
jcholast at redhat.com
Mon Jul 25 16:00:07 UTC 2011
This is a quick fix to make sure that the hostname passed to
ipa-server-install, ipa-client-install and ipa-replica-prepare is not an
IP address. The other install tools that accept a hostname as a
parameter aren't affected, as they already either doesn't accept IP
addresses (ipa-replica-manage, ipa-csreplica-manage) or work fine with
them (ipa-replica-conncheck).
https://fedorahosted.org/freeipa/ticket/1375
I'm working on patch that does the (hopefully) right thing and uses a
new type for storing hostnames, which does all the validation (similar
to what we do with IP addresses in the installer), but I'll submit that
later.
Honza
--
Jan Cholasta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jcholast-34-hostname-ip-address.patch
Type: text/x-patch
Size: 2338 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110725/957074be/attachment.bin>
More information about the Freeipa-devel
mailing list