On Fri, 2012-02-24 at 15:01 -0500, Rob Crittenden wrote:
> Limit the characters in a netgroup name to alpha, digits, -, _ and .
> 
> rob

NACK.

1) The regular expressions is not correct, you forget the ending "$".
Thus it matches any string with the right beginning. Like this one:

# ipa netgroup-add "foo+bar" --desc=baz
ipa: ERROR: Can't contact LDAP server: 

2) Shouldn't we add a similar validator for hostgroups too? Netgroups
are created out of hostgroups, i.e. I think they should share name
restrictions.

Martin

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to