I'm trying to join a computer to a samba domain and I get the error:

The following error occurred attempting to join the domain "MIDDLEEARTH":

The specified domain either does not exist or could not be contacted.


Other computers are connected to and using this domain. This computer is replace an other workstation that has be decommissioned.


I ran a packet capture:


1.852473 10.3.1.41 -> 10.3.255.255 SMB_NETLOGON 283 SAM LOGON request from client 1.852532 10.3.1.41 -> 10.3.1.245 SMB_NETLOGON 283 SAM LOGON request from client 1.852768 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 288 Response to SAM LOGON request 1.853539 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 288 Response to SAM LOGON request 6.032455 10.3.1.41 -> 10.3.255.255 SMB_NETLOGON 283 SAM LOGON request from client 6.032540 10.3.1.41 -> 10.3.1.245 SMB_NETLOGON 283 SAM LOGON request from client 6.032680 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 288 Response to SAM LOGON request 6.032814 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 288 Response to SAM LOGON request 6.132655 10.3.1.41 -> 10.3.255.255 SMB_NETLOGON 305 SAM LOGON request from client 6.132680 10.3.1.41 -> 10.3.1.245 SMB_NETLOGON 305 SAM LOGON request from client 6.132855 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 310 Response to SAM LOGON request 6.133001 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 310 Response to SAM LOGON request 10.771915 10.3.1.41 -> 10.3.255.255 NBNS 92 Name query NB MIDDLEEARTH<1b> 11.032465 DellPcba_d4:d3:a0 -> DellEsgP_8a:2a:a3 ARP 42 Who has 10.3.1.41? Tell 10.3.1.245 11.032604 DellEsgP_8a:2a:a3 -> DellPcba_d4:d3:a0 ARP 60 10.3.1.41 is at 00:18:8b:8a:2a:a3 11.521902 10.3.1.41 -> 10.3.255.255 NBNS 92 Name query NB MIDDLEEARTH<1b> 12.271906 10.3.1.41 -> 10.3.255.255 NBNS 92 Name query NB MIDDLEEARTH<1b> 13.063864 10.3.1.41 -> 10.3.255.255 SMB_NETLOGON 283 SAM LOGON request from client 13.063900 10.3.1.41 -> 10.3.1.245 SMB_NETLOGON 283 SAM LOGON request from client 13.064061 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 288 Response to SAM LOGON request 13.064197 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 288 Response to SAM LOGON request 13.163585 10.3.1.41 -> 10.3.255.255 SMB_NETLOGON 305 SAM LOGON request from client 13.163623 10.3.1.41 -> 10.3.1.245 SMB_NETLOGON 305 SAM LOGON request from client 13.163780 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 310 Response to SAM LOGON request 13.163912 10.3.1.245 -> 10.3.1.41 SMB_NETLOGON 310 Response to SAM LOGON request 13.272216 10.3.1.41 -> 10.3.255.255 NBNS 92 Name query NB MIDDLEEARTH<1b> 14.021892 10.3.1.41 -> 10.3.255.255 NBNS 92 Name query NB MIDDLEEARTH<1b> 14.771886 10.3.1.41 -> 10.3.255.255 NBNS 92 Name query NB MIDDLEEARTH<1b>


Looking at the packet data it looks like the LOGON request is getting the OK.


I turned on debug logging and got this:

process_name_query_request: Name query from 10.3.1.41 on subnet 10.3.1.245 for name MIDDLEEARTH<1b> process_name_query_request: Name query from 10.3.1.41 on subnet 10.3.1.245 for name MIDDLEEARTH<1b> process_logon_packet: processing delayed initial logon reply for client KENT-SUP-5(10.3.1.41) process_logon_packet: processing delayed initial logon reply for client KENT-SUP-5(10.3.1.41) process_logon_packet: processing delayed initial logon reply for client KENT-SUP-5(10.3.1.41) process_logon_packet: processing delayed initial logon reply for client KENT-SUP-5(10.3.1.41) process_name_query_request: Name query from 10.3.1.41 on subnet 10.3.1.245 for name MIDDLEEARTH<1b> process_name_query_request: Name query from 10.3.1.41 on subnet 10.3.1.245 for name MIDDLEEARTH<1b> process_name_query_request: Name query from 10.3.1.41 on subnet 10.3.1.245 for name MIDDLEEARTH<1b>


This is my global samba config(minus ldap stuff)

 workgroup = MIDDLEEARTH
        netbios name = KENT_FILESERVER
        server string = Kent BDC
        name resolve order = wins bcast hosts
        printcap name = cups
        logon script = scripts/logon.bat
        logon path = \\kent_fileserver\profiles\%U
        logon drive = G:
        logon home = \\kent_fileserver\homes\%U
        domain logons = Yes
        os level = 33
        preferred master = Yes
        domain master = No
        log level = 3
        local master = yes
        perferred master = yes
        wins support = yes

I don't know what else to look for.


Kyle



/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to