[Samba] User groups

Cybionet cybionet at videotron.ca
Mon Apr 3 11:29:37 GMT 2006


Wlcome in the club :-)

I wrote a topic "Limit of group membership for a user?" with the same 
problem, and I don't have any answer by the samba team. I have the most 
recent Samba 3.0.21b, OpenLDAP 2.2.28 and Glibc 2.3.6 version on a 
Gentoo (kernel 2.6.15) and I have the same problem. I check the 
NGROUP_MAX (65535) and the NSS_BUFLEN_GROUP (2048) value of the glibc.

For the AMD64 environment I have a limit of 66 groups for a user, but 
suprise, on the x86 environment I stop to count at 83 groups for a user 
(but it is not the limit). I continu the test this week.


Robert

>Hi all.
>I've posted this some times befora with no aswer till now. I've managed to avoid it, but now I just can't avoid it anymore.
>I'm using samba 3.0.14a on FC2 with openldap (openldap-2.2.13-2) backend.
>When a user belongs to more than 65 (not 100% sure about this value) groups, everything goes bezerk.
>On that mavhine log i get this:
>[2006/04/03 11:12:53, 0] lib/fault.c:fault_report(36)
>  ===============================================================
>[2006/04/03 11:12:53, 0] lib/fault.c:fault_report(37)
>  INTERNAL ERROR: Signal 11 in pid 22497 (3.0.14a)
>  Please read the appendix Bugs of the Samba HOWTO collection
>[2006/04/03 11:12:53, 0] lib/fault.c:fault_report(39)
>  ===============================================================
>[2006/04/03 11:12:53, 0] lib/util.c:smb_panic2(1495)
>  PANIC: internal error
>[2006/04/03 11:12:53, 0] lib/util.c:smb_panic2(1503)
>  BACKTRACE: 48 stack frames:
>   #0 smbd(smb_panic2+0x111) [0x81e3521]
>   #1 smbd(smb_panic+0x1a) [0x81e340a]
>   #2 smbd [0x81d0be8]
>   #3 /lib/tls/libc.so.6 [0x4c2f48]
>   #4 /lib/tls/libc.so.6 [0x4fd54d]
>   #5 /lib/tls/libc.so.6(__libc_free+0x8b) [0x4fe72b]
>   #6 /lib/libnss_ldap.so.2 [0xf9f3be]
>   #7 /lib/libnss_ldap.so.2 [0xf9de14]
>   #8 /lib/libnss_ldap.so.2 [0xf9de8f]
>   #9 /lib/libnss_ldap.so.2 [0xf8bea1]
>   #10 /lib/libnss_ldap.so.2 [0xf8bf20]
>   #11 /lib/libnss_ldap.so.2 [0xf7e12a]
>   #12 /lib/libnss_ldap.so.2 [0xf7d70d]
>   #13 /lib/libnss_ldap.so.2 [0xf73c2f]
>   #14 /lib/libnss_ldap.so.2 [0xf741de]
>   #15 /lib/libnss_ldap.so.2(_nss_ldap_getent_ex+0x5f) [0xf7495f]
>   #16 /lib/libnss_ldap.so.2(_nss_ldap_initgroups_dyn+0x149) [0xf764d9]
>   #17 /lib/tls/libc.so.6(initgroups+0x103) [0x51fb73]
>   #18 smbd [0x81c7844]
>   #19 smbd [0x81c7a14]
>   #20 smbd(getgroups_user+0x46) [0x81c7b66]
>   #21 smbd(pdb_default_enum_group_memberships+0x29) [0x81c7ca9]
>   #22 smbd [0x81bbaf5]
>   #23 smbd [0x81aff14]
>   #24 smbd(pdb_enum_group_memberships+0x4e) [0x81b17ae]
>   #25 smbd [0x8222052]
>   #26 smbd [0x82221ae]
>   #27 smbd(make_server_info_sam+0x140) [0x82224a0]
>   #28 smbd [0x821d5a4]
>   #29 smbd [0x821d8a1]
>   #30 smbd [0x821ae3f]
>   #31 smbd(_net_sam_logon+0xb3e) [0x812052e]
>   #32 smbd [0x811e0f7]
>   #33 smbd(api_rpcTNP+0x16c) [0x815d23c]
>   #34 smbd(api_pipe_request+0xba) [0x815cfea]
>   #35 smbd [0x8157978]
>   #36 smbd [0x8157cef]
>   #37 smbd [0x8157ee4]
>   #38 smbd [0x8158143]
>   #39 smbd(write_to_pipe+0xfb) [0x815808b]
>   #40 smbd(reply_pipe_write_and_X+0x120) [0x80a03e0]
>   #41 smbd [0x80d61a6]
>   #42 smbd [0x80d6430]
>   #43 smbd(process_smb+0x8c) [0x80d663c]
>   #44 smbd(smbd_process+0x168) [0x80d7388]
>   #45 smbd(main+0x505) [0x825aa15]
>   #46 /lib/tls/libc.so.6(__libc_start_main+0xe4) [0x4b0ad4]
>   #47 smbd [0x8079921]
>
>Any ideas?
>
>Best Regards,
>Bruno Guerreiro
>  
>



More information about the samba mailing list