[Freeipa-devel] [PATCH] 23 Allow one letter net/hostgroups names

Ondrej Hamada ohamada at redhat.com
Wed May 2 15:49:40 UTC 2012


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

Changed regex validating net/hostgroup names to allow single letter
names. Unit-tests added.

But the current validation allows weird (host|net)group names like: 
".",  ".-", "..".
I'm just not sure, do we really want to allow stuff like this?

Patch also fixes one of netgroup and host unit-tests. The error
message in hostname validation function has changed (in ticket #1966).

-- 
Regards,

Ondrej Hamada
FreeIPA team
jabber: ohama at jabbim.cz
IRC: ohamada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-ohamada-23-Allow-one-letter-net-hostgroups-names.patch
Type: text/x-patch
Size: 18923 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120502/8ab11485/attachment.bin>


More information about the Freeipa-devel mailing list