[Samba] XP clients disconnected during trasnfer of larger files to the samba server

Derrick MacPherson dmacpherson at mainframe.ca
Fri Aug 11 00:47:11 GMT 2006


i'm having an issue when transferring large files to the samba servers
from an xp client - files about 1GB or larger. about 70% into the
transfer i get a network share no longer exists error and the transfer
fails. I can pull down from the server fine with no issues. The XP
machines are authenticating from a different Samba server though the
problem is with that machine as well. Error and config posted below:
(FYI - transfering same files and such work fine via FTP) 
        
        My secondary server config:
         netbios name = 3Dsrv
         workgroup = VFX
         security = user
         server string = %h server (3D FileServer)
         password server = 192.168.0.210
         username map = /etc/samba/smbusers
         idmap uid = 15000-20000
         idmap gid = 15000-20000
        name resolve order =  bcast hosts
        template primary group = "Domain Users"
        template shell = /bin/bash
        winbind separator = +
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384 \
                SO_RCVBUF=16384
        oplocks = no
        
        smb log - i think this is relevant, though not sure:
        
        2006/08/10 11:53:56, 0] lib/util_sock.c:get_peer_addr(1000) 
        getpeername failed. Error was Transport endpoint is not
        connected 
        [2006/08/10 11:53:56, 0] lib/util_sock.c:get_peer_addr(1000) 
        getpeername failed. Error was Transport endpoint is not
        connected 
        [2006/08/10 11:53:56, 0] lib/util_sock.c:write_socket_data(430) 
        write_socket_data: write failure. Error = Connection reset by
        peer 
        [2006/08/10 11:53:56, 0] lib/util_sock.c:write_socket(455) 
        write_socket: Error writing 4 bytes to socket 24: ERRNO =
        Connection
        reset by peer 
        
Primary server config:

[global]
        name resolve order = bcast hosts
        passwd chat debug = yes
        idmap gid = 15000-20000
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew
\sUNIX\spassword:* %n\n
        passwd program = /usr/bin/passwd %u
        netbios name = 2DSRV
        printing = CUPS
        idmap uid = 15000-20000
        logon script = logon.bat
        workgroup = VFX
        os level = 128
        printcap name = CUPS
        security = user
        add machine script = /usr/sbin/useradd -s /bin/false/
-d /var/lib/nobody %u
        delete user script = /usr/sbin/userdel -r %u
        log level = 4
        add group script = /usr/sbin/groupadd %g
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        logon drive =
        domain master = yes
        username map = /etc/samba/smbusers
        use spnego = no
        encrypt passwords = yes
        passdb backend = tdbsam
        logon home =
        wins support = true
        server string = %h server (Domain Controller)
        unix password sync = yes
        logon path =
        add user script = /usr/sbin/useradd -m %u
        domain logons = yes
        
-- 
Derrick MacPherson <dmacpherson at mainframe.ca>


More information about the samba mailing list