[Samba] samba PDC, cannot add windows workstations

Andrew Masterson Andrew.Masterson at nuvistaenergy.com
Wed Dec 31 20:00:47 GMT 2008

Smells like a DNS (or firewall) issue on the PDC.  Make sure that your DNS resolution is happening properly.


From: samba-bounces+andrew.masterson=nuvistaenergy.com at lists.samba.org on behalf of Viji V Nair
Sent: Wed 12/31/2008 7:01 AM
To: samba at lists.samba.org
Subject: [Samba] samba PDC, cannot add windows workstations


I have setup samba as a PDC with kerberos and ldap. While adding the windows
clients I get the following error message on the logs, and windows says the
user name and password is incorrect

[2008/12/31 19:00:09,  0] lib/util_sock.c:write_data(1059)
[2008/12/31 19:00:09,  0] lib/util_sock.c:get_peer_addr_internal(1607)
  getpeername failed. Error was Transport endpoint is not connected
  write_data: write failure in writing to client Error Connection
reset by peer
[2008/12/31 19:00:09,  0] smbd/process.c:srv_send_smb(74)
  Error writing 4 bytes to client. -1. (Transport endpoint is not connected)

Any help on the same will be gratly appreciated.

# rpm -qa |grep samba

# uname -a
Linux viji.testing.com #1 SMP Mon Dec 1 22:21:35
EST 2008 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/samba/smb.conf
         workgroup           = TESTING.COM
         server string       = Samba Server Version %v
         security            = user
         passdb backend      = smbpasswd
         socket options      = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         os level            = 33
         domain logons       = yes
         domain master       = yes
         local master        = yes
         preferred master    = yes
         wins support        = yes
         template shell      = /bin/false
         realm               = TESTING.COM
         use kerberos keytab = yes
         load printers       = yes
         cups options          = raw
#         log level             = 3 passdb:5 auth:10
        comment      = Home Directories
        browseable   = no
        writable     = yes
        comment      = All Printers
        path         = /var/spool/samba
        browseable   = no
        guest ok     = no
        writable     = no
        printable    = yes
        comment      = Share
        path         = /share
        browseable   = yes
        guest ok     = no
        writable     = yes
        valid users  = admin

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

More information about the samba mailing list