Maybe this has been asked many times, but I could not find it in the list archive (in this case could someone please address me to the right thread?) I've an XP professional client (SP1) connected to a 2.2.7a samba server running on a redhat 6.2 box (kernel 2.2.22). I can log on and access samba shares, but the XP box keeps losing these connections. Log file just tell me that: [2002/12/26 16:49:22, 2] smbd/server.c:exit_server(461) Closing connections [2002/12/26 16:49:22, 1] smbd/service.c:close_cnum(677) jose (192.168.1.100) closed connection to service omnia When the connection is lost it takes a while to reconnect (10/20 seconds). Maybe this is an XP and not a Samba problem? Can anybody tell me what can I do? This is my "global" configuration section [global] workgroup = MACONDO netbios name = SUPERPIPPO server string = Samba v%v (Logon Server) interfaces = eth0 log level = 2 log file = /var/log/samba/log.%m max log size = 50 mangle case = Yes socket options = TCP_NODELAY \ SO_RCVBUF=16384 \ SO_SNDBUF=16384 \ SO_KEEPALIVE max xmit = 65535 password level = 0 encrypt passwords = Yes unix password sync = yes null passwords = Yes username map = /etc/samba/smbusers guest account = smbguest add user script = /usr/sbin/useradd \ -d /dev/null -g 100 \ -s /bin/false -M %u dns proxy = No wins support = Yes time server = Yes print command = lpr -b -r -P%p %s load printers = No domain master = Yes local master = Yes preferred master = Yes os level = 65 security = user deadtime = 30 keepalive = 300 domain logons = Yes logon drive = h: logon path = \\%n\%u\.profile logon home = \\%n\%u logon script = logon.cmd level2 oplocks = Yes read raw = Yes write raw = Yes oplocks = Yes getwd cache = Yes hosts allow = 192.168.1.0/24 127.0.0.0/8
> > I can log on and access samba shares, but the XP box keeps > losing these connections. Log file just tell me that: > > [2002/12/26 16:49:22, 2] smbd/server.c:exit_server(461) > Closing connections > [2002/12/26 16:49:22, 1] smbd/service.c:close_cnum(677) > jose (192.168.1.100) closed connection to service omnia > > When the connection is lost it takes a while to reconnect > (10/20 seconds). >...> deadtime = 30I've never used this option before, but isn't Samba doing just what you're telling it to do? Carey
A level 5 or 10 log may be helpful, in finding out whats' going on when the connection is terminated. - Ranjit -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of Gabriele Carioli Sent: Thursday, December 26, 2002 7:55 AM To: samba@lists.samba.org Subject: [Samba] XP keeps disconnecting Maybe this has been asked many times, but I could not find it in the list archive (in this case could someone please address me to the right thread?) I've an XP professional client (SP1) connected to a 2.2.7a samba server running on a redhat 6.2 box (kernel 2.2.22). I can log on and access samba shares, but the XP box keeps losing these connections. Log file just tell me that: [2002/12/26 16:49:22, 2] smbd/server.c:exit_server(461) Closing connections [2002/12/26 16:49:22, 1] smbd/service.c:close_cnum(677) jose (192.168.1.100) closed connection to service omnia When the connection is lost it takes a while to reconnect (10/20 seconds). Maybe this is an XP and not a Samba problem? Can anybody tell me what can I do? This is my "global" configuration section [global] workgroup = MACONDO netbios name = SUPERPIPPO server string = Samba v%v (Logon Server) interfaces = eth0 log level = 2 log file = /var/log/samba/log.%m max log size = 50 mangle case = Yes socket options = TCP_NODELAY \ SO_RCVBUF=16384 \ SO_SNDBUF=16384 \ SO_KEEPALIVE max xmit = 65535 password level = 0 encrypt passwords = Yes unix password sync = yes null passwords = Yes username map = /etc/samba/smbusers guest account = smbguest add user script = /usr/sbin/useradd \ -d /dev/null -g 100 \ -s /bin/false -M %u dns proxy = No wins support = Yes time server = Yes print command = lpr -b -r -P%p %s load printers = No domain master = Yes local master = Yes preferred master = Yes os level = 65 security = user deadtime = 30 keepalive = 300 domain logons = Yes logon drive = h: logon path = \\%n\%u\.profile logon home = \\%n\%u logon script = logon.cmd level2 oplocks = Yes read raw = Yes write raw = Yes oplocks = Yes getwd cache = Yes hosts allow = 192.168.1.0/24 127.0.0.0/8 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Possibly Parallel Threads
- [LLVMdev] Getting the memory address of all operands on an expression
- [LLVMdev] Getting the memory address of all operands on an expression
- [LLVMdev] LLVM ERROR : Invalid instruction
- Syslinux 6.04-pre1
- Again: Re: MSN keeps disconnecting with load balancing (fwd)