Samba panic when a user is a member of too many WinNT groups

Jeremy Allison jra at samba.org
Tue Oct 23 11:44:03 GMT 2001


On Tue, Oct 23, 2001 at 12:04:17PM -0400, Laza, Anna wrote:
> Situation:
> 
> HP-UX 10.20 Samba 2.0.5a
> 
> 	[2001/05/04 18:00:21, 1] nmbd/nmbd.c:main(684)
> 	Netbios nameserver version 2.0.5a started.
> 	[Copyright Andrew Tridgell 1994-1998
> 
> User performs following command via a DOS Command Prompt on a PC running
> Windows NT 4.00.1381 workstation:
> 	net use x: \\hostname\username
> 
> User receives following message:
> 	"System error 59 has occurred. An unexpected network error has
> occurred."
> 
> 
> Contents of samba.log:
> 
> [2001/10/22 14:43:00, 5] rpc_parse/parse_prs.c:prs_uint32(372)
>           00fc num_groups2   : 00000066
> [2001/10/22 14:43:00, 0] rpc_parse/parse_net.c:net_io_user_info3(1187)
>   PANIC: assert failed at rpc_parse/parse_net.c(1187)
> [2001/10/22 14:43:00, 0] lib/util.c:smb_panic(2427)
>   PANIC: assert failed
> 
> What we figure happened is that this particular user is a member of too many
> WinNT groups (assuming 66 groups per Samba) and Samba can't handle this...
> so it panics.  Fortunately, the Samba services (smbd and nmbd) remain
> running without problem.
> 1.  Is this assumption correct?
> 2.  For this version of Samba (2.0.5a) what is the "magic number" of
> allowable WinNT group memberships before Samba panics?
> 3.  At what release is this panic fixed?

I believe the limit in 2.0.x was 30 groups (although the underlying
UNIX may limit more than this).

This limit (the network i/o one, not the UNIX one) has been fixed
in the 2.2.x releases.

Regards,

	Jeremy Allison,
	Samba Team.




More information about the samba mailing list