[Freeipa-devel] [PATCH] 0044 Validate externalhost (when added by --addattr/--setattr)

Petr Viktorin pviktori at redhat.com
Mon Apr 30 12:13:27 UTC 2012


Change the externalhost attribute of hbacrule, netgroup
and sudorule into a full-fledged Parameter, and attach
a validator to it.

RFC 1123 specifies that only [-a-z0-9] are allowed, but apparently 
Windows and some phones also use underscores in hostnames.
So the new validator allows the underscore.


https://fedorahosted.org/freeipa/ticket/2649

-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0044-Validate-externalhost-when-added-by-addattr-setattr.patch
Type: text/x-patch
Size: 6460 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120430/17c694d2/attachment.bin>


More information about the Freeipa-devel mailing list