Problem accesing SAMBA server from Windows XP util_sock.c:write_data

Mateo Vilar mateovilar at gmail.com
Tue Mar 4 08:48:10 GMT 2008


Dear sirs,

   I'm having problems accesing to a SAMBA server from XP clients. The
problems appear sometimes and consist in disconnections of the shared
resource, very slow connection or not connection at all. Normally, it works
(slow but it works) but suddenly it stops working. The samba log of one
machine having the problem shows this:

*[2008/02/25 14:34:02, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 192.168.100.113. Error =
Conexión reiniciada por el par
[2008/02/25 14:34:02, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.100.113. Error
Tubería rota*
*[2008/02/25 14:34:02, 0] lib/util_sock.c:send_smb(769)
  Error writing 75 bytes to client. -1. (Tubería rota)
[2008/02/25 14:40:32, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.100.113. Error
Conexión reiniciada por el par
[2008/02/25 14:40:32, 0] lib/util_sock.c:send_smb(769)
  Error writing 4 bytes to client. -1. (Conexión reiniciada por el par)
[2008/02/25 14:40:39, 1] smbd/service.c:make_connection_snum(950)
  jlv (192.168.100.113) connect to service intranet initially as user
jlvicente (uid=1002, gid=1018) (pid 9901)
[2008/02/25 14:40:41, 1] smbd/service.c:close_cnum(1150)
  jlv (192.168.100.113) closed connection to service intranet*
*[2008/02/29 09:57:46, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 192.168.100.113. Error
Conexión reiniciada por el par
[2008/02/29 09:57:46, 0] lib/util_sock.c:send_smb(769)
  Error writing 4 bytes to client. -1. (Conexión reiniciada por el par)*

Here the log.smbd

*[2008/02/29 09:37:00, 0] lib/util_sock.c:get_peer_addr(1232)
  getpeername failed. Error was El punto final de transporte no se encuentra
conectado
[2008/02/29 09:57:46, 0] lib/util_sock.c:get_peer_addr(1232)
  getpeername failed. Error was El punto final de transporte no se encuentra
conectado*
**
And the smb.conf


*[global]*

*   workgroup = DATALUX*

*   server string = intranet*

*   wins support = no*

*   wins server = 192.168.100.2*

*   dns proxy = no*

*  name resolve order = wins lmhosts bcast host*

*    smb ports = 139 445
    time server = yes     *

*   log file = /var/log/samba/log.%m*

*   max log size = 1000*

*  syslog = 3 *

*   panic action = /usr/share/samba/panic-action %d*


*   security = user*

*   encrypt passwords = true*

*   passdb backend = tdbsam*

*   obey pam restrictions = yes*

*   invalid users = root*

*   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .*

*username map = /etc/samba/smbusers*

*   socket options = TCP_NODELAY*

*   domain master = no
   local master = no
   preferred master = no
   os level = 0

[intranet]
path = /home/intranet
available = yes
browsable = yes
public = yes
writable = yes*

*create mask = 6770
directory mask = 6770*

*[backup1]
path = /media/backup1
available = yes
browsable = yes
public = yes
writable = no*
**


More information about the samba-technical mailing list