Samba timeout
#1
when i connect my xbox to my samba server everything works. but when i play a movie it stops after 10-15 minutes. because of this i've made a samba log file from one of these stops:

[2003/11/06 12:17:26, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130056192 max=32768 min=0 nread=32768
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3978 of length 55
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130088960 max=32768 min=0 nread=32768
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3979 of length 55
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130121728 max=32768 min=0 nread=32768
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3980 of length 55
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130154496 max=32768 min=0 nread=32768
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3981 of length 55
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130187264 max=32768 min=0 nread=32768
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3982 of length 55
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130220032 max=32768 min=0 nread=32768
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3983 of length 55
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:27, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130252800 max=32768 min=0 nread=32768
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3984 of length 55
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130285568 max=32768 min=0 nread=32768
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3985 of length 55
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130318336 max=32768 min=0 nread=32768
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3986 of length 55
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130351104 max=32768 min=0 nread=32768
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3987 of length 55
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130383872 max=32768 min=0 nread=32768
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3988 of length 55
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:28, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130416640 max=32768 min=0 nread=32768
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3989 of length 55
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130449408 max=32768 min=0 nread=32768
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3990 of length 55
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130482176 max=32768 min=0 nread=32768
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3991 of length 55
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130514944 max=32768 min=0 nread=32768
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3992 of length 55
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130547712 max=32768 min=0 nread=32768
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3993 of length 55
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:29, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130580480 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3994 of length 55
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130613248 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3995 of length 55
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130646016 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3996 of length 55
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130678784 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3997 of length 55
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130711552 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3998 of length 55
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130744320 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 3999 of length 55
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130777088 max=32768 min=0 nread=32768
[2003/11/06 12:17:30, 3, effective(503, 100), real(0, 0)] smbd/sec_ctx.cConfusedet_sec_ctx(329)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/11/06 12:17:31, 3, effective(0, 0), real(0, 0)] smbd/process.c:process_smb(846)
 transaction 4000 of length 55
[2003/11/06 12:17:31, 3, effective(0, 0), real(0, 0)] smbd/process.cConfusedwitch_message(685)
 switch message smbreadbraw (pid 1968)
[2003/11/06 12:17:31, 3, effective(0, 0), real(0, 0)] smbd/sec_ctx.cConfusedet_sec_ctx(329)
 setting sec ctx (503, 100) - sec_ctx_stack_ndx = 0
[2003/11/06 12:17:31, 3, effective(0, 0), real(0, 0)] smbd/sec_ctx.cConfusedet_sec_ctx(334)
 5 user groups:
 100 14 16 17 33
[2003/11/06 12:17:31, 3, effective(503, 100), real(0, 0)] smbd/reply.c:reply_readbraw(2368)
 readbraw fnum=11255 start=130809856 max=32768 min=0 nread=32768
[2003/11/06 12:18:03, 3, effective(0, 0), real(0, 0)] smbd/sec_ctx.cConfusedet_sec_ctx(329)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/11/06 12:18:31, 3, effective(503, 100), real(0, 0)] smbd/sec_ctx.cConfusedet_sec_ctx(329)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

and this is my samba config file:

[global]
       workgroup = mas
       netbios name = unixsrv01
       server string = unixsrv01
       security = share
       encrypt passwords = yes
       obey pam restrictions = yes
       passwd program = /usr/bin/passwd %u
       passwd chat = *enter\snew\sunix\spassword:* %n\n *retype\snew\sunix\spas
       log level = 3
       syslog = 0
       debug uid = yes
       socket options = iptos_lowdelay tcp_nodelay so_sndbuf=4096 so_rcvbuf=409
       dns proxy = no
       wins support = yes
       default service = home
       invalid users = root

does anyone have an idea what causes this error?
#2
i have the exact same problem. but with xbmp and samba (3.0, linux).
#3
a thread with some additional infos on how to configure samba. --> http://www.xboxmediaplayer.de/cgi-bin....;t=5828
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
#4
thanks, but thats not the problem..
#5
i had that problem but after some test i made it work. i made the change for several months ago in the global part of smb.conf so i don't remember exactly what i did. here is my global part of smb.conf:

Quote:[global]
workgroup = x.x
netbios name = x
server string = gateway running slackware 9
interfaces = eth1
security = share
encrypt passwords = yes
map to guest = bad user
null passwords = yes
ssl ca certdir = /etc/ssl/certs
log file = /var/log/samba.%m
max log size = 50
deadtime = 15
keepalive = 0
wins proxy = yes
wins support = yes
guest account = ftp
invalid users = root
admin users = x
hosts allow = 192.168.0.
dos filetimes = yes
dos filetime resolution = yes
#6
Thumbs Up 
it works!!!
thanks a lot


martigan

Logout Mark Read Team Forum Stats Members Help
Samba timeout0