[Freeipa-devel] legal netgroup character set

Rob Crittenden rcritten at redhat.com
Fri Feb 24 23:25:22 UTC 2012


Dmitri Pal wrote:
> On 02/22/2012 10:45 PM, Rob Crittenden wrote:
>> Does anyone have a BNF for or know the legal characters in a netgroup
>> name?
>>
>> All I could find was an ancient SunOS document saying only lower-case
>> characters and digits were allowed. This doesn't sound right.
>>
>> thanks
>>
>> rob
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
>
> Could not find anything either.
>

I decided to take a stand and went with ^[a-zA-Z][a-zA-Z0-9-_\.]+

The upper-case is a bit superfluous because we normalize netgroup names 
to lower-case but what the heck.

rob




More information about the Freeipa-devel mailing list