[Samba] smbd crash with share security

Andrej Kacian andrej at kacian.sk
Sat May 5 15:02:51 GMT 2007


Hello,

I am experiencing an issue on Mandriva 2007.1 (samba 3.0.24) where smbd
crashes as soon as a guest connection attempt is made for a single
file share:

icho at hiker ~ $ smbclient //192.168.200.2/data
Password: 
Domain=[FONET] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
tree connect failed: Call returned zero bytes (EOF)



Syslog logs following info:

May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/fault.c:fault_report(41) 
May  5 18:32:56 bazina smbd[5571]:   =============================================================== 
May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/fault.c:fault_report(42) 
May  5 18:32:56 bazina smbd[5571]:   INTERNAL ERROR: Signal 11 in pid 5571 (3.0.24) 
May  5 18:32:56 bazina smbd[5571]:   Please read the Trouble-Shooting section of the Samba3-HOWTO 
May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/fault.c:fault_report(44) 
May  5 18:32:56 bazina smbd[5571]:    
May  5 18:32:56 bazina smbd[5571]:   From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf 
May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/fault.c:fault_report(45) 
May  5 18:32:56 bazina smbd[5571]:   =============================================================== 
May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/util.c:smb_panic(1599) 
May  5 18:32:56 bazina smbd[5571]:   PANIC (pid 5571): internal error 
May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/util.c:log_stack_trace(1706) 
May  5 18:32:56 bazina smbd[5571]:   BACKTRACE: 6 stack frames: 
May  5 18:32:56 bazina smbd[5571]:    #0 smbd(log_stack_trace+0x29) [0x8020a8ae] 
May  5 18:32:56 bazina smbd[5571]:    #1 smbd(smb_panic+0x76) [0x8020a9d5] 
May  5 18:32:56 bazina smbd[5571]:    #2 smbd(getsmbpass+0) [0x801f7844] 
May  5 18:32:56 bazina smbd[5571]:    #3 [0xbfffe420] 
May  5 18:32:56 bazina smbd[5571]:    #4 /lib/i686/libc.so.6(realloc+0xd9) [0xb7b964f9] 
May  5 18:32:56 bazina smbd[5571]:    #5 smbd(Realloc+0xb2) [0x8020b9ab] 
May  5 18:32:56 bazina smbd[5571]: [2007/05/05 18:32:56, 0] lib/fault.c:dump_core(173) 
May  5 18:32:56 bazina smbd[5571]:   dumping core in /var/log/samba/cores/smbd 
May  5 18:32:56 bazina smbd[5571]:



Samba log files do not show anything.

smb.conf used is:

[global]
 workgroup = HOME
 server string = Samba Server %v
 printcap name = cups
 load printers = yes
 printcap cache time = 60
 printing = cups
 log file = /var/log/samba/%m.log
 max log size = 50
 map to guest = bad user
 security = share
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 dns proxy = no 
[homes]
 comment = Home Directories
 browseable = no
 writable = yes
[data]
 path = /mnt/data
 comment = data
 browseable = yes
 public = yes
 writable = yes



As soon as I switch security to "user", I can connect to the share
correctly.

I guess this counts as a bug (as applications in general should not
crash no matter what), but I wanted to confirm it here.

Is there any more info I can provide to help troubleshoot this issue?

Thanks in advance,
-- 
Andrej Kacian <andrej at kacian sk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070505/c35ac742/signature.bin


More information about the samba mailing list