[Samba] Client Disconnect periodically

Francesco Alfano edacedpa at yahoo.it
Thu Jan 13 06:10:54 MST 2011


I've updated samba from
Samba version 3.0.24 ( config file in testparm-oldsrv1.txt)
to
Samba version 3.0.33-3.29.el5_5.1 ( config file in testparm-newsrv1b.txt)

I've used samba to share a directory which is used to windows 2000 serve 
as mapped drive.

All works fine with samba 3.0.24, but i've a problem in new version:

Every 10 minutes the client (w2k server) is disconnected from mapped 
drive and automatically reconnected to it after some seconds. This 
behaviour crash the application with reads mapped drive contents every 1 
second as you can see in the log:

[2011/01/13 08:48:51, 1] smbd/service.c:close_cnum(1274)
     pc-ser-tun (192.168.168.202) closed connection to service utit
[2011/01/13 08:59:06, 1] smbd/service.c:make_connection_snum(1077)
     pc-ser-tun (192.168.168.202) connect to service utit initially as 
user utit (uid=132, gid=132) (pid 25477)
[2011/01/13 08:59:39, 0] lib/util_sock.c:read_data(534)
     read_data: read failure for 4 bytes to client 192.168.168.202. 
Error = Connessione abbattuta dal corrispondente
[2011/01/13 08:59:39, 1] smbd/service.c:close_cnum(1274)
     pc-ser-tun (192.168.168.202) closed connection to service utit
[2011/01/13 08:59:49, 1] smbd/service.c:make_connection_snum(1077)
     cocuzza (192.168.1.116) connect to service AdHocCofaris initially 
as user rooteda (uid=102, gid=502) (pid 25484)
[2011/01/13 09:09:45, 1] smbd/service.c:close_cnum(1274)
     pc-ser-tun (192.168.168.202) closed connection to service utit
[2011/01/13 09:09:56, 1] smbd/service.c:make_connection_snum(1077)
     pc-ser-tun (192.168.168.202) connect to service utit initially as 
user utit (uid=132, gid=132) (pid 25535)
[2011/01/13 09:21:01, 0] lib/util_sock.c:read_data(534)
     read_data: read failure for 4 bytes to client 192.168.168.202. 
Error = Connessione abbattuta dal corrispondente
[2011/01/13 09:21:01, 1] smbd/service.c:close_cnum(1274)
     pc-ser-tun (192.168.168.202) closed connection to service utit



How can i configure this new samba version to remove this behaviour from 
client ?

Thanks in advance.


-- 
--
Best Regards
Francesco Alfano



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testparm-oldsrv1.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20110113/c23ca313/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testparm-newsrv1b.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20110113/c23ca313/attachment-0001.txt>


More information about the samba mailing list