> That looks okay, apart from the '.local' TLD, this is no longer
recommended.>>
>> # nslookup dc1.test-server.lan
> Hang on, it is using '.local' above, which is it ?
Good catch. It should've been .lan
How do you start samba on boot with Debian? Everything I see says to use
systemctl start smbd but that always fails. In the initial wiki it said to
start Samba with 'samba'. This does start but I rebooted that server so
Samba wasn't running. How do you set Samba to start on boot? On other
systems I use systemctl enable --now samba but there is no samba service on
Debian it appears and starting the smbd and nmbd services always fail.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.
On Fri, Oct 8, 2021 at 2:06 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:
> 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
> > from.
>
> 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
> recommended.
> >
> > # 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
> > localhost4.localdomain4
>
> Just make it '127.0.0.1 localhost'
> > ::1 localhost localhost.localdomain localhost6
> > localhost6.localdomain6
>
> 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.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>