[Freeipa-devel] [PATCH] 41 During ipa-client-install verify forward and reverse dns lookup of server

Rob Crittenden rcritten at redhat.com
Mon Feb 27 16:43:24 UTC 2012


JR Aquino wrote:
> ipa-server-install has a method for validating forward and reverse via ipaserver/install/installutils.py
> ipa-client-install does not currently have an equivalent
> This patch adds valid_dns to ipapython/ipautil.py to validate foward and reverse DNS
> This patch adds the valid_dns test in ipa-client/ipa-install/ipa-client-install to validate the dns of the FreeIPA server
>
> https://fedorahosted.org/freeipa/ticket/2438

Would it make sense to use verify_fqdn() from installutils.py? We'd need 
to move this to ipapython to be usable by the client but it would do a 
lot more checking and no code duplication.

rob




More information about the Freeipa-devel mailing list