Historically FreeBSD has limited the number of groups per process (and hence per-user) to somewhere between 14 and 16 depending how you count. This leads to problems in a number of environments including the use of FreeBSD as an SMB server.