[Samba] Problem with groups - Samba panic - update 3.0.23c-1.fc5

Luis Felipe Marzagao/RBSM
Tue, 03 Oct 2006 06:09:40 -0000

Hi there,

I?m using FC5 and since I updated to Samba 3.0.23c-1.fc5 I?m not able to
access some shares from the workstations.

Lookin at the log, i found this error:


[2006/09/29 19:34:27, 0] lib/fault.c:fault_report(41)
  ==============================================================[2006/09/29
19:34:27, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 3646 (3.0.23c-1.fc5)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/09/29 19:34:27, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/09/29 19:34:27, 0] lib/fault.c:fault_report(45)
  ==============================================================[2006/09/29
19:34:27, 0] lib/util.c:smb_panic(1614)
  PANIC (pid 3646): internal error
[2006/09/29 19:34:27, 0] lib/util.c:log_stack_trace(1721)
  BACKTRACE: 19 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0xb238ad]
   #1 smbd(smb_panic+0x5d) [0xb239dd]
   #2 smbd [0xb0f51a]
   #3 [0xe5f420]
   #4 /lib/libc.so.6(__strdup+0x1f) [0x685893]
   #5 /lib/libnsl.so.1(nis_list+0x5d2) [0x191b5f]
   #6 /lib/libnss_nisplus.so.2(_nss_nisplus_setnetgrent+0x8f) [0x48462e]
   #7 /lib/libc.so.6(innetgr+0xb2) [0x700d05]
   #8 smbd(user_in_netgroup+0x65) [0x95a1e5]
   #9 smbd(token_contains_name_in_list+0x23d) [0x95cbdd]
   #10 smbd(change_to_user+0x4d2) [0x99b642]
   #11 smbd [0x9bab38]
   #12 smbd(make_connection+0x194) [0x9bbfa4]
   #13 smbd(reply_tcon_and_X+0x21d) [0x97f8ed]
   #14 smbd [0x9b70e0]
   #15 smbd(smbd_process+0x7ab) [0x9b821b]
   #16 smbd(main+0xbd0) [0xbd1f90]
   #17 /lib/libc.so.6(__libc_start_main+0xdc) [0x6314e4]
   #18 smbd [0x942701]
[2006/09/29 19:34:28, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2006/09/29 19:34:28, 0] lib/fault.c:fault_report(41)
  ==============================================================

I discovered, for an exemple, if you have a user group with 3 members (Alan,
Baker, Clive), before 3.0.23c this line worked fine:

valid users = @user

But with 3.0.23c it doesn't work anymore. You have to replace the line like
this:

valid users = Alan, Baker, Clive

I mean, replace the @groupname with the complet userlist of the group
separated by commas.

It?s a quick solution, but some groups are large and it?s kind a hard to do
that with all of them.

Anyway, I found this other discussion
(http://www.mail-archive.com/samba@lists.samba.org/msg78460.html), where
people say something about a patch (which, unfortunatelly, I have no idea
how to use or apply)...


I ?d appreciate any help or comments.

Thanks!

Luis Felipe