All,
I recently configured a SAMBA server on Redhat ES 3 and migrated to SAMBA Version 3.0.9-1.3E.2
I am getting a lot of error messages in my /var/log/messages file like below:
Mar 18 12:10:24 samba smbd[12511]: Denied connection from (0.0.0.0)
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:get_peer_a
ddr(1000)
Mar 18 12:10:24 samba smbd[12511]: getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:10:24 samba smbd[12511]: Connection denied from 0.0.0.0
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:write_sock
et_data(43
0)
Mar 18 12:10:24 samba smbd[12511]: write_socket_data: write failure. Error = Connection reset by peer
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:write_sock
et(455)
Mar 18 12:10:24 samba smbd[12511]: write_socket: Error writing 5 bytes to socket 22: ERRNO = Connection reset by peer
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:send_smb(6
47)
Mar 18 12:10:24 samba smbd[12511]: Error writing 5 bytes to client. -1. (Connection reset by peer)
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:get_peer_a
ddr(1000)
Mar 18 12:15:58 samba smbd[12526]: getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/access.c:check_access(
328)
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:get_peer_a
ddr(1000)
Mar 18 12:15:58 samba smbd[12526]: getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:15:58 samba smbd[12526]: Denied connection from (0.0.0.0)
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:get_peer_a
ddr(1000)
Mar 18 12:15:58 samba smbd[12526]: getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:15:58 samba smbd[12526]: Connection denied from 0.0.0.0
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:write_sock
et_data(43
0)
Mar 18 12:15:58 samba smbd[12526]: write_socket_data: write failure. Error = Connection reset by peer
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:write_sock
et(455)
Mar 18 12:15:58 samba smbd[12526]: write_socket: Error writing 5 bytes to socket 5: ERRNO = Connection reset by peer
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:send_smb(6
47)
Mar 18 12:15:58 samba smbd[12526]: Error writing 5 bytes to client. -1. (Connection reset by peer)
Does anyone know why these messages are occuring? It should not be a network bottleneck. This is the conf file and environment.
Runnig on P4 2.8 GHZ with 1 GB of RAM ... system is also the NFS server for DAS file system (same file system) I have setup SMABA to be a Domain controller and handle windows authentication. These errors did not seem to be there in previous version of SAMBA but configration may not be consistent.
System is connected via 1000MB link to Cisco Cat 4006. All users are conencted directly to that switch.
I also do not have the password synchronization working between smbpasswd and yppasswd
CONF FILE
#======================= Global Settings ==========================
==========
=
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = COMPANY
netbios name = samba
server string = Samba PDC Server %v
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; ##### DAN ENTERED ON 6/30/04 #####
; PDC and master browser settings
os level =64
preferred master = yes
local master = yes
domain master = yes
domain logons = yes
wins support = yes
dns proxy = yes
; security and logging settings
# Security must be set = user for PDC
security = user
# encrypt passwords ,ust be set = yes for PDC
encrypt passwords = yes
log file = /var/log/samba/%m.log
log level = 3
max log size = 50
hosts allow = 127.0.0.1 192.168.0.0/255.255.0.0
#hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0 192.168.10.0/255.255.255.0
;user profiles and home directory - note uses a LOT of bandwidth
logon home = \\npnas1\nd1\users\%U
; logon drive = H:
; logon path = \\%L\profiles\%U
logon path =
; logon script is an admisistrative tool used primarily for globally
; updating client machines with items like registry patches,
; antivirus updates, program updates and more. Anything you want to
; push to the client can be done via netlogon
; logon script = netlogon.bat
; This next line allows samba to create machine accounts as needed
; when the client first joins the domain.
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
; This next section will simplify password synchronization between
; windows and LINUX. If a user changes their samba password from
; windows, this script will in turn update their LINUX password.
; If the LINUX password is changed however it will not sync the
; SAMBA password automatically.
unix password sync = yes
passwd program = /usr/bin/yppasswd %u
passwd chat = *root*password* rite\n *new*password* %n\n *retype*password* %n\n *password has been changed*
;password chat debug = yes
#=========================
=== Share Definitions ==========================
====
[homes]
comment = Home Directories
browseable = no
writable = yes
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
[Profiles]
path = /home/samba/profiles
browseable = no
writable = yes
create mask = 0600
directory mask = 0700
[nd1]
path = /nd1
browseable = no
writable = yes
create mask = 0775
directory mask = 0775
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; read only = yes
; write list = draposo