[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Samba as a PDC



Tried to setup Samba 3.0.4-5 on Sarge as a PDC. Tried very hard to read the docs and sample configure to no success. When connecting a W2k client, I get this error:

"... Logon failure: unknown user name or bad password."

From the samba log file, I found this:

[2004/07/27 03:42:44, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Transport endpoint is not connected
[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket_data(413)
 write_socket_data: write failure. Error = Connection reset by peer
[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket(438)
write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
[2004/07/27 03:42:44, 0] lib/util_sock.c:send_smb(630)
 Error writing 4 bytes to client. -1. (Connection reset by peer)

I googled the error message and did not find anything helpful.  Please help

Here is the smb.conf:

[global]
       workgroup = WORKGROUP
       server string = %h server (Samba %v)
       obey pam restrictions = Yes
       smb passwd file = /var/lib/samba/passdb.tdb
       passdb backend = tdbsam, guest
       passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
       syslog = 0
       log file = /var/log/samba/log.%m
       max log size = 1000
       dns proxy = No
       ldap ssl = no
       panic action = /usr/share/samba/panic-action %d
       invalid users = root
       browseable = yes

       netbios name = SMB_SVR
       os level = 33
       preferred master = yes
       domain master = yes
       local master = yes
       security = yes
       domain logons = yes
       logon path = \\%L\profiles\%u
       logon drive = H:
       logon home = \\homeserver\%u\winprofile
       logon script = logon.cmd

       unix password sync = yes
       encrypt passwords = yes

[netlogon]
       comment = Network Logon Service
       path = /var/lib/samba/netlogon
       guest ok = Yes
       browseable = No
       read only = yes

[profiles]
       path = /var/lib/samba/profiles
       read only = no
       create mask = 0600
       directory mask = 0700





Reply to: