<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 05/02/2012 05:49 PM, Ondrej Hamada wrote:
<blockquote cite="mid:4FA15794.9020501@redhat.com" type="cite"><a class="moz-txt-link-freetext" href="https://fedorahosted.org/freeipa/ticket/2671">https://fedorahosted.org/freeipa/ticket/2671</a>
<br>
<br>
Changed regex validating net/hostgroup names to allow single
letter
<br>
names. Unit-tests added.
<br>
<br>
But the current validation allows weird (host|net)group names
like: ".", ".-", "..".
<br>
I'm just not sure, do we really want to allow stuff like this?
<br>
<br>
Patch also fixes one of netgroup and host unit-tests. The error
<br>
message in hostname validation function has changed (in ticket
#1966).
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
The unit-test for #1966 were corrected by Petr³. Rebased patch
attached.<br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Ondrej Hamada
FreeIPA team
jabber: <a class="moz-txt-link-abbreviated" href="mailto:ohama@jabbim.cz">ohama@jabbim.cz</a>
IRC: ohamada</pre>
</body>
</html>