[Freeipa-devel] [PATCH] use same regex for user/group names as shadow-utils
Martin Nagy
mnagy at redhat.com
Wed Aug 6 18:02:17 UTC 2008
Rob Crittenden wrote:
> This patch replaces the patch of the same name and the "fix validation
> return types" patch(es).
>
> Turns out my tree was quite a bit out-of-date so I re-based the patches
> and combined them.
>
> The user/group name validator didn't match the standard *nix validator
> and disallowed some valid names and allowed some invalid ones (including
> those with spaces).
>
> This brings it inline with shadow-utils from Fedora 9.
>
> Also change the validation routines to return 0/1 instead of True/False
> which made readability difficult, particularly with the reversed logic.
>
> rob
ack
More information about the Freeipa-devel
mailing list