[Samba] Socket Errors

Jason Gray jgray at bardelanimation.com
Tue Apr 20 20:40:23 GMT 2004


I'm trying to figure out what this error means.  I've looked all over the
groups and though there are people with the same errors, no one seems to
know what the error is.   I'm running Samba 3.0.2 with OpenLDAP 2.0.27.  It
might be related to Kerberos or to SSL.  I've looked through my NMBD and
SMBD logs and found very little as to what the problem could be.  I've tried
various things in my smb.conf like turing off file locking (oplock) and
level2oplocks as some of the groups mentioned that this might be the cause.
Any thoughts?

I can forward more info if needed.

Apr 20 13:27:22 bd4 smbd[30280]: [2004/04/20 13:27:22, 0]
lib/util_sock.c:write_socket_data(388)
Apr 20 13:27:22 bd4 smbd[30280]:   write_socket_data: write failure. Error =
Connection reset by peer
Apr 20 13:27:22 bd4 smbd[30280]: [2004/04/20 13:27:22, 0]
lib/util_sock.c:write_socket(413)
Apr 20 13:27:22 bd4 smbd[30280]:   write_socket: Error writing 4 bytes to
socket 16: ERRNO = Connection reset by peer
Apr 20 13:27:22 bd4 smbd[30280]: [2004/04/20 13:27:22, 0]
lib/util_sock.c:send_smb(605)
Apr 20 13:27:22 bd4 smbd[30280]:   Error writing 4 bytes to client. -1.
(Connection reset by peer)


smb.conf:

[global]
        workgroup = BARDELCA
        netbios name = BD4
        server string =
        security = DOMAIN
        encrypt passwords = Yes
        null passwords = yes
        passdb backend = ldapsam:ldap://dc2.bardel.ca
        ldap suffix = dc=bardel,dc=ca
        ldap machine suffix =
cn=Computers,ou=Systems,sambaDomainName=BARDELCA,dc=bardel,dc=ca
        ldap user suffix =
cn=Users,ou=People,sambaDomainName=BARDELCA,dc=bardel,dc=ca
#        ldap group suffix =
cn=Group,ou=Groups,sambaDomainName=BARDELCA,dc=bardel,dc=ca
        ldap filter = (&(uid=%u)(objectclass=sambaSamAccount))
        ldap admin dn = "cn=Manager,dc=bardel,dc=ca"
        ldap ssl = no
        log level = 1
        log file = /var/log/samba/%m.log
        max log size = 0
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
#        hosts allow = 192.168.1.
        interfaces = eth0
        #include = /etc/samba/smb.conf.%m
        wins server = 192.168.2.17
        admin users = administrator, root
        oplocks = False
        level2oplocks = False
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=8192 SO_SNDBUF=8192
        guest account = nobody



More information about the samba mailing list