Hello I'm trying to setup a samba PDC on my server. The problem is that my server is in a dmz network, 192.168.2.0/24 and my lan is 192.168.1.0/24. So i decided to install samba on my Firewall box as a wins server. The WINS server is working perfectly. All of my Boxes on my lan can join the PDC, but cannot logon to the PDC. After looking in the logs i found this is what is coming when i try to login from the LAN: [2005/06/20 16:40:24, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2005/06/20 16:40:24, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2005/06/20 16:40:24, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer [2005/06/20 16:40:24, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer) [2005/06/20 16:40:24, 0] lib/util_sock.c:get_peer_addr(1000) getpeername failed. Error was Transport endpoint is not connected [2005/06/20 16:40:24, 0] lib/util_sock.c:write_socket_data(430) write_socket_data: write failure. Error = Connection reset by peer [2005/06/20 16:40:24, 0] lib/util_sock.c:write_socket(455) write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer [2005/06/20 16:40:24, 0] lib/util_sock.c:send_smb(647) Error writing 4 bytes to client. -1. (Connection reset by peer) [2005/06/20 16:40:24, 0] lib/util_sock.c:read_socket_data(384) read_socket_data: recv failure for 4. Error = Connection reset by peer I looked on google and did not find much information. I wanted my firewall box to be part of the domain so i ran net join -r ntinstall -U administrator on it, but i get the following error: root@gateway:/var/log/samba # net join -r ntinstall -U administrator administrator's password: [2005/06/20 17:11:47, 0] utils/net_ads.c:ads_startup(186) ads_connect: Transport endpoint is not connected Could not connect to server WINS I also tried this command from the PDC itself and i got the same result Why is it trying to connect to WINS if ntinstall is the PDC? Can any one help me fix these problems? my smb.conf files of both my firewall and PDC are below: Firewall: [global] workgroup = NT-DOMAIN netbios name = WINS server string = Samba WINS Server interfaces = eth1 eth2 bind interfaces only = Yes username map = /etc/samba/smbusers log level = 1 syslog = 0 log file = /var/log/samba/%m max log size = 50 smb ports = 139 445 name resolve order = wins bcast hosts add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u shutdown script = /var/lib/samba/scripts/shutdown.sh abort shutdown script = /sbin/shutdown -c domain logons = No local master = Yes os level = 33 preferred master = Yes domain master = Yes wins support = Yes password server = 192.168.2.2 security = DOMAIN [homes] comment = Home Directories valid users = %S read only = No browseable = No PDC: # Global parameters [global] workgroup = NT-DOMAIN netbios name = ntinstall server string = Samba PDC Server interfaces = eth0 bind interfaces only = Yes passdb backend = tdbsam pam password change = Yes passwd chat = *New*Password* %n\n *Re-enter*new*password* %n\n *Password*changed* username map = /etc/samba/smbusers unix password sync = Yes log level = 1 syslog = 0 log file = /var/log/samba/%m max log size = 50 smb ports = 139 445 name resolve order = wins bcast hosts time server = Yes add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u shutdown script = /var/lib/samba/scripts/shutdown.sh abort shutdown script = /sbin/shutdown -c passwd program = /usr/bin/passwd %u logon script = logon.bat logon path = \\%L\profiles\%U logon drive = X: logon home = \\%L\%U domain logons = Yes local master = Yes os level = 64 preferred master = Yes domain master = Yes wins server = 192.168.2.1 utmp = Yes map acl inherit = Yes veto oplock files = /*.doc/*.xls/*.mdb/ [IPC$] path = /tmp hosts allow = 192.168.1.0/24, 192.168.2.0/24, 127.0.0.1 hosts deny = 0.0.0.0/0 [homes] comment = Home Directories valid users = %S read only = No browseable = No [printers] comment = SMB Print Spool path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes default devmode = Yes browseable = No [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = Yes locking = No read only = Yes write list = @admins [profiles] comment = Profile Share path = /var/lib/samba/profiles read only = No profile acls = Yes create mask = 0600 directory mask = 0700 hide files = /desktop.ini/ntuser.ini/NTUSER.*/ [shared] comment = Network Shares path = /var/lib/samba/shared force user = root force group = root read only = No [software] comment = Applications path = /var/lib/samba/software force user = root force group = root create mask = 0666 directory mask = 0775 [data] comment = Data path = /var/lib/samba/data force group = users read only = No create mask = 0666 directory mask = 0775 [public] comment = Public Stuff path = /var/lib/samba/public force group = users read only = No create mask = 0666 directory mask = 0775 [install] comment = Unattended path = /var/lib/unattended/install guest ok = Yes locking = No read only = Yes write list = @admins [tmp] comment = Temporary Space path = /tmp read only = No guest ok = Yes [CD] comment = Server's CD Drive path = /media/cdrom guest ok = Yes [ISO] comment = ISO's Mounted on Server path = /media/iso guest ok = Yes [anime] comment = Anime path = /var/lib/samba/anime force group = users read only = No create mask = 0666 directory mask = 0775 [torrent] comment = TorrentFlux Downloads path = /var/lib/torrent read only = No _____________________________________ DeadlyDemon TheDemonNetwork - http://thedemonnetwork.co.uk