Bug 4159 - smbd crash using force user into AD (DOMAIN+user)
Summary: smbd crash using force user into AD (DOMAIN+user)
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.23c
Hardware: x86 Windows XP
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 10:13 UTC by Yanick Quirion
Modified: 2009-04-04 08:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yanick Quirion 2006-10-10 10:13:07 UTC
Dear Support,

I'm having problem with samba 3.0.23c. The smbd process will crash when I have the following definition for a specific share:

[user1]
        comment = User1 Home Directory
        path = /u/management/user1
        valid users = domain+user1,sher+user2
        force user = domain+user1
        force group = sher+management
        read only = no
        create mask = 0660
        directory mask = 0770
        nt acl support = yes

After making tests, I've found that the problem is caused by the "force user" and "force group". When I comment those lines, I can access the share drive.

Here is a part of my log.smbd:

2006/10/10 11:02:38, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2006/10/10 11:02:38, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 8218 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/10/10 11:02:38, 0] lib/fault.c:fault_report(44)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/10/10 11:02:38, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2006/10/10 11:02:38, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 8218): internal error
[2006/10/10 11:02:38, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 12 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0x99a1e1]
   #1 smbd(smb_panic+0x56) [0x99a2e8]
   #2 smbd [0x9875f5]
   #3 /lib/tls/libc.so.6 [0x294898]
   #4 smbd [0x84531e]
   #5 smbd(make_connection+0x296) [0x8471d9]
   #6 smbd(reply_tcon_and_X+0x1d3) [0x80591c]
   #7 smbd [0x842bf6]
   #8 smbd(smbd_process+0x7e9) [0x8440ca]
   #9 smbd(main+0x105a) [0xa3aaa0]
   #10 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x281de3]
   #11 smbd [0x7d5061]
[2006/10/10 11:02:38, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 8252 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(44)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2006/10/10 11:02:39, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 8252): internal error
[2006/10/10 11:02:39, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 12 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0x99a1e1]
   #1 smbd(smb_panic+0x56) [0x99a2e8]
   #2 smbd [0x9875f5]
   #3 /lib/tls/libc.so.6 [0x294898]
   #4 smbd [0x84531e]
   #5 smbd(make_connection+0x296) [0x8471d9]
   #6 smbd(reply_tcon_and_X+0x1d3) [0x80591c]
   #7 smbd [0x842bf6]
   #8 smbd(smbd_process+0x7e9) [0x8440ca]
   #9 smbd(main+0x105a) [0xa3aaa0]
   #10 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x281de3]
   #11 smbd [0x7d5061]
[2006/10/10 11:02:39, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 8253 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(44)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/10/10 11:02:39, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2006/10/10 11:02:39, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 8253): internal error
[2006/10/10 11:02:39, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 12 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0x99a1e1]
   #1 smbd(smb_panic+0x56) [0x99a2e8]
   #2 smbd [0x9875f5]
   #3 /lib/tls/libc.so.6 [0x294898]
   #4 smbd [0x84531e]
   #5 smbd(make_connection+0x296) [0x8471d9]
   #6 smbd(reply_tcon_and_X+0x1d3) [0x80591c]
   #7 smbd [0x842bf6]
   #8 smbd(smbd_process+0x7e9) [0x8440ca]
   #9 smbd(main+0x105a) [0xa3aaa0]
   #10 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x281de3]
   #11 smbd [0x7d5061]
[2006/10/10 11:02:40, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
[2006/10/10 11:02:40, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2006/10/10 11:02:40, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 8255 (3.0.23c)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2006/10/10 11:02:40, 0] lib/fault.c:fault_report(44)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2006/10/10 11:02:40, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2006/10/10 11:02:40, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 8255): internal error
[2006/10/10 11:02:40, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 12 stack frames:
   #0 smbd(log_stack_trace+0x2d) [0x99a1e1]
   #1 smbd(smb_panic+0x56) [0x99a2e8]
[2006/10/10 11:02:40, 1] smbd/service.c:close_cnum(1141)
  10.32.4.73 (10.32.4.73) closed connection to service cdrom
[2006/10/10 11:02:40, 1] smbd/service.c:close_cnum(1141)
  10.32.4.73 (10.32.4.73) closed connection to service admin
   #2 smbd [0x9875f5]
   #3 /lib/tls/libc.so.6 [0x294898]
   #4 smbd [0x84531e]
   #5 smbd(make_connection+0x296) [0x8471d9]
   #6 smbd(reply_tcon_and_X+0x1d3) [0x80591c]
   #7 smbd [0x842bf6]
   #8 smbd(smbd_process+0x7e9) [0x8440ca]
   #9 smbd(main+0x105a) [0xa3aaa0]
   #10 /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x281de3]
   #11 smbd [0x7d5061]
[2006/10/10 11:02:41, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/smbd
  

With the version 3.0.21b I do not have this problem. I'm using the same smb.conf file I was using with 3.0.21b.

Please keep me in touch regarding this issue.

Regards,
Yanick Quirion
Comment 1 Gerald (Jerry) Carter (dead mail address) 2006-10-10 11:03:47 UTC
Please try this patch.

http://viewcvs.samba.org/cgi-bin/viewcvs.cgi?view=rev&rev=19008