[Samba] Limit user groups

Bruno Guerreiro bruno.guerreiro at ine.pt
Mon Feb 7 14:32:22 GMT 2005


Hello,
I'm trying to add a user to big list of Samba groups, 74 groups to be
precise.
The problem is that when the user reaches around 65 to 70 groups, it starts
giving errors in User Manager for Domains, and causes a panic in Samba.
Is there a limit for how many groups a user may belong?
I'm using Samba-3.0.10 with openldap.

This is what I get in the logs.

[2005/02/07 13:22:42, 0] lib/util.c:smb_panic2(1482)
  PANIC: internal error
[2005/02/07 13:22:42, 0] lib/util.c:smb_panic2(1490)
  BACKTRACE: 28 stack frames:
   #0 smbd(smb_panic2+0x111) [0x81d8c01]
   #1 smbd(smb_panic+0x1a) [0x81d8aea]
   #2 smbd [0x81c6558]
   #3 /lib/tls/libc.so.6 [0x2aef48]
   #4 /lib/tls/libc.so.6(__libc_free+0x8b) [0x2ea72b]
   #5 /lib/tls/libc.so.6(initgroups+0x16f) [0x30bbdf]
   #6 smbd [0x8242cb4]
   #7 smbd(sys_getgrouplist+0x54) [0x8242e84]
   #8 smbd(getgroups_user+0x71) [0x8243001]
   #9 smbd(get_domain_user_groups+0x47) [0x8151967]
   #10 smbd(_samr_query_usergroups+0x18b) [0x814531b]
   #11 smbd [0x813d1f0]
   #12 smbd(api_rpcTNP+0x16c) [0x815611c]
   #13 smbd(api_pipe_request+0xba) [0x8155eca]
   #14 smbd [0x814f9d8]
   #15 smbd [0x814fd4f]
   #16 smbd [0x814ff44]
   #17 smbd [0x81501a3]
   #18 smbd(write_to_pipe+0xfb) [0x81500eb]
   #19 smbd [0x808c3ea]
   #20 smbd(reply_trans+0x54e) [0x808cdfe]
   #21 smbd [0x80d1ab6]
   #22 smbd [0x80d1d40]
   #23 smbd(process_smb+0x8c) [0x80d1f4c]
   #24 smbd(smbd_process+0x168) [0x80d2c88]
   #25 smbd(main+0x4ea) [0x824d08a]
   #26 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x29cad4]
   #27 smbd [0x8078961]

Best regards,
Bruno Guerreiro


More information about the samba mailing list