[Samba] Samba With Errors

kleiton at pcs.com.br kleiton at pcs.com.br
Thu Nov 23 13:18:01 GMT 2006


Good Day

I having problems with the samba, when I go to add to a machine windows xp
to the dominio some errors appear in messages log of the system, the
machine windows xp enters in the dominio but they anypeople can make
logons and is shown me an error saying that the dominio was not found on
windows xp machine.

The errors ---
Nov 23 11:06:31 instituto smbd[17752]:   getpeername failed. Error was
Ponto final de transporte não está conectado
Nov 23 11:06:31 instituto smbd[17752]:   write_data: write failure in
writing to client 192.168.10.18. Error Conexão fechada pela outra ponta

I have a server with Fedora Core 6, Samba 3.0.23.c-2

My samba is integrated with LDAP version 2.3.27-4

Below the errors and smb.conf.

SMB.CONF ----------

[global]
        unix charset = iso8859-1
        display charset = cp850
        workgroup = INSTITUTO
        server string = Dominio do Instituto Fernandes Figueira
        interfaces = eth0
        bind interfaces only = Yes
        passdb backend = ldapsam:ldap://127.0.0.1
        log level = 3
        log file = /var/log/samba/%m.log
        name resolve order = wins host bcast
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        add user script = /usr/sbin/smbldap-useradd -m "%u"
        delete user script = /usr/sbin/smbldap-userdel "%u"
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        delete group script = /usr/sbin/smbldap-groupdel "%g"
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        delete user from group script = /usr/sbin/smbldap-groupmod -x "%u"
"%g"
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
        add machine script = /usr/sbin/smbldap-useradd -w "%u"
        logon script = netlogon.bat
        logon drive = X:
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        ldap admin dn = cn=Manager,dc=iff,dc=fiocruz,dc=br
        ldap delete dn = Yes
        ldap group suffix = ou=Group
        ldap idmap suffix = ou=Idmap
        ldap machine suffix = ou=Computers
        ldap passwd sync = Yes
        ldap suffix = dc=iff,dc=fiocruz,dc=br
        ldap ssl = no
        ldap user suffix = ou=People
        idmap backend = ldap:ldap://127.0.0.1
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind use default domain = Yes
        admin users = root
        hosts allow = 192.168.10., 192.168.11.
        cups options = raw
        blocking locks = No
        locking = No
        large readwrite = yes


LOG MESSAGES ----------

Nov 23 11:06:31 instituto smbd[17752]: [2006/11/23 11:06:31, 0]
lib/util_sock.c:get_peer_addr(1229)
Nov 23 11:06:31 instituto smbd[17752]:   getpeername failed. Error was
Ponto final de transporte não está conectado
Nov 23 11:06:31 instituto smbd[17752]: [2006/11/23 11:06:31, 0]
lib/access.c:check_access(327)
Nov 23 11:06:31 instituto smbd[17752]: [2006/11/23 11:06:31, 0]
lib/util_sock.c:get_peer_addr(1229)
Nov 23 11:06:31 instituto smbd[17752]:   getpeername failed. Error was
Ponto final de transporte não está conectado
Nov 23 11:06:31 instituto smbd[17752]:   Denied connection from  (0.0.0.0)
Nov 23 11:06:31 instituto smbd[17752]: [2006/11/23 11:06:31, 0]
lib/util_sock.c:get_peer_addr(1229)
Nov 23 11:06:31 instituto smbd[17752]:   getpeername failed. Error was
Ponto final de transporte não está conectado
Nov 23 11:06:31 instituto smbd[17752]:   Connection denied from 0.0.0.0
Nov 23 11:06:31 instituto smbd[17752]: [2006/11/23 11:06:31, 0]
lib/util_sock.c:write_data(562)
Nov 23 11:06:31 instituto smbd[17752]:   write_data: write failure in
writing to client 192.168.10.18. Error Conexão fechada pela outra ponta
Nov 23 11:06:31 instituto smbd[17752]: [2006/11/23 11:06:31, 0]
lib/util_sock.c:send_smb(769)
Nov 23 11:06:31 instituto smbd[17752]:   Error writing 5 bytes to client.
-1. (Conexão fechada pela outra ponta)


Thanks!



More information about the samba mailing list