[Samba] XP Pro timeout

Lane Beneke lane.b at smcinc.com
Wed Jul 28 16:41:58 GMT 2004


Windows XP Pro clients are timing out when attempting to use either a file
or printer share on my Samba 3.0.5 server.

Any graphical application will fall into a seemingly endless timeout when
attempting to access the Samba server.  Print jobs will stay in the XP print
queue for as much as 1/2 hour, and then print normally.  The odd thing is
that access from any non-graphical application (cmd.exe) on the XP clients
is instantaneous.

Two XP Pro workstations (version 2002, SP1) are exhibiting this behaviour.
The rest of the company (Win2k, Win98, Win95, WinNT) is working fine.  There
are no other XP workstations on the network.

The Samba server was upgraded from 2.2.8a last Friday.  The upgrade worked
fine for two working days before this problem showing up today.

Included below are many of the specifics of my installation, and current log
file excerpts for your scrutiny.

Thanks in advance for any help you may provide.

Lane Beneke; IT Manager
Stephenson Millwork Co., Inc.

----- THE PLAYERS -----
Problem Clients - Windows XP Pro Version 2002 SP1
PDC - Windows NT Server Version 4.0 SP6
File Server - Linux 2.4.24 w/Samba 3.0.5

----- RECENT EVENTS -----
5 days ago - Samba upgraded from 2.2.8a to 3.0.5
Yesterday - Everything working fine, including XP clients
Today - Several reboots of XP clients

----- LOG.SMBD LOG FILE -----
[2004/07/28 09:48:46, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected

----- CLIENT LOG FILE -----
[2004/07/28 09:20:20, 1] smbd/service.c:make_connection_snum(619)
  smc158 (192.168.42.109) connect to service WorkOrder3 initially as user
rick (uid=1026, gid=100) (pid 28420)
[2004/07/28 09:21:13, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service WorkOrder3
[2004/07/28 09:32:05, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service estimating
[2004/07/28 09:32:13, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service rick
[2004/07/28 09:32:13, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service common
[2004/07/28 09:37:13, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
[2004/07/28 09:37:13, 0] lib/util_sock.c:write_socket_data(413)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/07/28 09:37:13, 0] lib/util_sock.c:write_socket(438)
  write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset
by peer
[2004/07/28 09:37:13, 0] lib/util_sock.c:send_smb(630)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/07/28 09:37:13, 1] smbd/service.c:make_connection_snum(619)
  smc158 (192.168.42.109) connect to service rick initially as user rick
(uid=1026, gid=100) (pid 30492)
[2004/07/28 09:37:15, 1] smbd/service.c:make_connection_snum(619)
  smc158 (192.168.42.109) connect to service estimating initially as user
rick (uid=1026, gid=100) (pid 30492)


----- SAMBA CONFIGURATION FILE -----
# Samba config file created using SWAT
# from 192.168.42.108 (192.168.42.108)
# Date: 2004/07/23 21:56:29

# Global parameters
[global]
        workgroup = DOMAIN
        netbios name = SERVER-BACKUP
        server string = Backup Server
        security = DOMAIN
        update encrypted = Yes
        null passwords = Yes
        password server = server
        passwd program = /usr/bin/passwd %u
        passwd chat = *New\sUNIX\spassword:*
%n\n*Retype\snew\sUNIX\spassword:* %n\n .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        time server = Yes
        socket options = IPTOS_LOWDELAY TCP_NODELAY
        add user script = /usr/sbin/useradd -d /home/%u -g 100 -m %u ;
smbpasswd -a %u ""
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = 192.168.42.250
        idmap uid = 10000-10999
        idmap gid = 11000-11999
        invalid users = root
        printer admin = root, Administrator, lane
        create mask = 0770
        hosts allow = 192.168.42
        hosts deny = 192.168.42.254

[homes]
        comment = Home Directories
        read only = No
        veto files = /Maildir/
        browseable = No

[common]
        comment = Open Share (G: Drive)
        path = /home/samba/common
        read only = No
        create mask = 0777
        directory mask = 0777
        guest ok = Yes

[print$]
        comment = Point-n-Print Drivers
        path = /var/cache/samba/print
        invalid users =
        admin users = lane
        write list = root, Administrator, lane
        create mask = 0774
        guest ok = Yes

[pplabels]
        comment = Used only by DOS version of Product Planner
        path = /tmp
        printable = Yes
        printing = lprng
        print command = /usr/bin/pplabels %s %U "%J" &

[print2pdf]
        comment = Creates a PDF file on G:\common\Print2PDF
        path = /tmp
        admin users = lane
        printable = Yes
        printing = lprng
        print command = /usr/bin/print2pdf %s %U "%J" &

[WorkOrder]
        comment = Work Order Printer
        path = /tmp
        admin users = lane
        printable = Yes
        printing = lprng
        print command = /usr/bin/WorkOrderPrint %s %U "%J" &
        browseable = No

[WorkOrder1]
        comment = Work Order Printer (Direct Sales)
        path = /tmp
        admin users = lane
        printable = Yes

[WorkOrder2]
        comment = Work Order Printer (Comm/Arch)
        path = /tmp
        admin users = lane
        printable = Yes

[WorkOrder3]
        comment = Work Order Printer (Residential)
        path = /tmp
        admin users = lane
        printable = Yes

[WorkOrder4]
        comment = Work Order Printer (Engineering)
        path = /tmp
        admin users = lane
        printable = Yes

[webfiles]
        path = /home/public/file/1/
        read only = No
        create mask = 0644

[estimating]
        path = /home/samba/estimating
        read only = No
        create mask = 0777
        directory mask = 0777






More information about the samba mailing list