[Samba] connection disconnects

2006-08-09 Thread Sameer Kamat

Hello,

   I would really appreciate any help since I am not able to debug this 
problem. We have a windows 2003 machine talking to a samba share exposed by 
Fedora Core 2. If I transfer a 5 GB file, it starts the transmission and then 
stops, sometimes at 1GB sometimes further around 3-4GB. The smbd.log file from 
the server show the following errors.


Aug  4 13:34:35 Server nmbd[26773]:   Samba name server Server has stopped 
being a local master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:34:35 Server nmbd[26773]:
Aug  4 13:34:35 Server nmbd[26773]:   *
Aug  4 13:34:52 Server nmbd[26773]: [2006/08/04 13:34:52, 0] 
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Aug  4 13:34:52 Server nmbd[26773]:   *
Aug  4 13:34:52 Server nmbd[26773]:
Aug  4 13:34:52 Server nmbd[26773]:   Samba name server Server is now a local 
master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:34:52 Server nmbd[26773]:
Aug  4 13:34:52 Server nmbd[26773]:   *
Aug  4 13:41:35 Server nmbd[26773]: [2006/08/04 13:41:35, 0] 
nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311)
Aug  4 13:41:35 Server nmbd[26773]:   process_local_master_announce: Server 
Dell1 at IP 10.140.19.48 is announcing itself as a local master browser for 
workgroup WORKGROUP and we think we are master. Forcing election.
Aug  4 13:41:35 Server nmbd[26773]: [2006/08/04 13:41:35, 0] 
nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149)
Aug  4 13:41:35 Server nmbd[26773]:   *
Aug  4 13:41:35 Server nmbd[26773]:
Aug  4 13:41:35 Server nmbd[26773]:   Samba name server Server has stopped 
being a local master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:41:35 Server nmbd[26773]:
Aug  4 13:41:35 Server nmbd[26773]:   *
Aug  4 13:41:53 Server nmbd[26773]: [2006/08/04 13:41:53, 0] 
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Aug  4 13:41:53 Server nmbd[26773]:   *
Aug  4 13:41:53 Server nmbd[26773]:
Aug  4 13:41:53 Server nmbd[26773]:   Samba name server Server is now a local 
master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:41:53 Server nmbd[26773]:
Aug  4 13:41:53 Server nmbd[26773]:   *
Aug  4 14:04:38 Server gdm[1881]: Maximum number of open XDMCP sessions from 
host :::127.0.0.1 reached
Aug  4 14:33:09 Server smbd[31523]: [2006/08/04 14:33:09, 0] 
lib/util_sock.c:write_socket_data(430)
Aug  4 14:33:09 Server smbd[31523]:   write_socket_data: write failure. Error = 
Connection reset by peer
Aug  4 14:33:09 Server smbd[31523]: [2006/08/04 14:33:09, 0] 
lib/util_sock.c:write_socket(455)
Aug  4 14:33:09 Server smbd[31523]:   write_socket: Error writing 51 bytes to 
socket 22: ERRNO = Connection reset by peer
Aug  4 14:33:09 Server smbd[31523]: [2006/08/04 14:33:09, 0] 
lib/util_sock.c:send_smb(647)
Aug  4 14:33:09 Server smbd[31523]:   Error writing 51 bytes to client. -1. 
(Connection reset by peer)



This is the smb.conf file :

[global]
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
pam password change = yes
obey pam restrictions = yes
encrypt passwords = yes
unix password sync = no
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = no
server string = Samba Server
load printers = no
username map = /etc/samba/user.map
log file = /var/log/samba/%m.log
name resolve order = host
smb ports = 139

[samba]
path = /samba
writable = yes
guest ok = yes
guest account = root



Please advise.

Thanks,
Sameer
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] Connection reset by peer

2006-08-07 Thread Sameer Kamat
Hi,

 We are seeing this on our Fedora Core 2 machine when accessing the share 
from a Windows 2003 box.  Any help will be greatly appreciated.

This is  the smb.conf file : 

[global]
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
pam password change = yes
obey pam restrictions = yes
encrypt passwords = yes
unix password sync = no
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = no
server string = Samba Server
load printers = no
username map = /etc/samba/user.map
log file = /var/log/samba/%m.log
name resolve order = host
smb ports = 139

[samba]
path = /samba
writable = yes
guest ok = yes
guest account = root


This is the error :

Aug  4 13:34:35 Server nmbd[26773]:   Samba name server Server has stopped 
being a local master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:34:35 Server nmbd[26773]:
Aug  4 13:34:35 Server nmbd[26773]:   *
Aug  4 13:34:52 Server nmbd[26773]: [2006/08/04 13:34:52, 0] 
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Aug  4 13:34:52 Server nmbd[26773]:   *
Aug  4 13:34:52 Server nmbd[26773]:
Aug  4 13:34:52 Server nmbd[26773]:   Samba name server Server is now a local 
master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:34:52 Server nmbd[26773]:
Aug  4 13:34:52 Server nmbd[26773]:   *
Aug  4 13:41:35 Server nmbd[26773]: [2006/08/04 13:41:35, 0] 
nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311)
Aug  4 13:41:35 Server nmbd[26773]:   process_local_master_announce: Server 
Dell1 at IP 10.140.19.48 is announcing itself as a local master browser for 
workgroup WORKGROUP and we think we are master. Forcing election.
Aug  4 13:41:35 Server nmbd[26773]: [2006/08/04 13:41:35, 0] 
nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149)
Aug  4 13:41:35 Server nmbd[26773]:   *
Aug  4 13:41:35 Server nmbd[26773]:
Aug  4 13:41:35 Server nmbd[26773]:   Samba name server Server has stopped 
being a local master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:41:35 Server nmbd[26773]:
Aug  4 13:41:35 Server nmbd[26773]:   *
Aug  4 13:41:53 Server nmbd[26773]: [2006/08/04 13:41:53, 0] 
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Aug  4 13:41:53 Server nmbd[26773]:   *
Aug  4 13:41:53 Server nmbd[26773]:
Aug  4 13:41:53 Server nmbd[26773]:   Samba name server Server is now a local 
master browser for workgroup WORKGROUP on subnet 10.140.18.178
Aug  4 13:41:53 Server nmbd[26773]:
Aug  4 13:41:53 Server nmbd[26773]:   *
Aug  4 14:04:38 Server gdm[1881]: Maximum number of open XDMCP sessions from 
host :::127.0.0.1 reached
Aug  4 14:33:09 Server smbd[31523]: [2006/08/04 14:33:09, 0] 
lib/util_sock.c:write_socket_data(430)
Aug  4 14:33:09 Server smbd[31523]:   write_socket_data: write failure. Error = 
Connection reset by peer
Aug  4 14:33:09 Server smbd[31523]: [2006/08/04 14:33:09, 0] 
lib/util_sock.c:write_socket(455)
Aug  4 14:33:09 Server smbd[31523]:   write_socket: Error writing 51 bytes to 
socket 22: ERRNO = Connection reset by peer
Aug  4 14:33:09 Server smbd[31523]: [2006/08/04 14:33:09, 0] 
lib/util_sock.c:send_smb(647)
Aug  4 14:33:09 Server smbd[31523]:   Error writing 51 bytes to client. -1. 
(Connection reset by peer)


Thanks,
Sameer.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba