[Samba] Unable to join domain
rpenny at samba.org
Fri Oct 8 18:06:11 UTC 2021
On Fri, 2021-10-08 at 13:53 -0400, Rob Campbell wrote:
> > None of the above if FSDC02 is a DC
> FSDC02 is not a DC. It is just a standalone server on my network.
> It is the original server on my network where I was sharing files
OK, just something with 'DC' in its hostname is usually a DC.
> # cat /etc/resolv.conf
> # Generated by NetworkManager
> nameserver 10.0.0.13 # IP Address of DC (DC1)
> search test-server.local
That looks okay, apart from the '.local' TLD, this is no longer
> # nslookup dc1.test-server.lan
Hang on, it is using '.local' above, which is it ?
> ;; connection timed out; no servers could be reached
> # ping 10.0.0.13
> PING 10.0.0.13 (10.0.0.13) 56(84) bytes of data.
> 64 bytes from 10.0.0.13: icmp_seq=1 ttl=64 time=0.224 ms
> 64 bytes from 10.0.0.13: icmp_seq=2 ttl=64 time=0.248 ms
> 64 bytes from 10.0.0.13: icmp_seq=3 ttl=64 time=0.386 ms
> # ping dc1.test-server.lan
> ping: dc1.test-server.lan: Temporary failure in name resolution
> # cat /etc/hosts
> 127.0.0.1 localhost localhost.localdomain localhost4
Just make it '127.0.0.1 localhost'
> ::1 localhost localhost.localdomain localhost6
Same as the '127.0.0.1' line above
> 10.0.0.10 fsdc02.test-server.lan dc02.test-server.lan
It should be:
10.0.0.10 fsdc02.test-server.lan fsdc02
> > net ads join -Uadministrator
> Don't I need to specify the domain? I can't get to this step yet but
> just asking.
No, that should work, you can see the options you can add if you run:
net help ads join
But they are all optional.
More information about the samba