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@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

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

Reply via email to