[Samba] Unable to join domain

Rowland Penny rpenny at samba.org
Sat Oct 9 08:01:22 UTC 2021


On Fri, 2021-10-08 at 22:25 -0400, Rob Campbell wrote:
> > That is because you are not entering the command in the same way as
> on
> the page you linked to:
> 
> This is the section I'm referring to
> 
> 
> 
> I don't get the priority, weight and other values.  Not sure if that
> means something is not setup right or not.

I have changed the page.

> 
> Apparently my reverse dns isn't working.  Back on DC1 I also can't do
> a reverse lookup.  Initially I couldn't resolve test-server.lan but I
> went through the process of verifying dns and I was able to get
> through all those steps.
> 
> # nslookup 10.0.0.13
> ** server can't find 13.0.0.10.in-addr.arpa: NXDOMAIN
> 
> # samba-tool dns zonecreate 10.0.0.13 0.0.10.in-addr.arpa -U
> Administrator
> Password for [DC01\Administrator]:
> ERROR(runtime): uncaught exception - (9609,
> 'WERR_DNS_ERROR_ZONE_ALREADY_EXISTS')
>   File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py",
> line 186, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/lib/python3/dist-packages/samba/netcmd/dns.py", line
> 735, in run
>     res = dns_conn.DnssrvOperation2(client_version, 0, server, None,

You cannot create something that already exists.

> 
> On top of that, samba keeps crashing:
> daemon.log:
> 11161 Oct  8 22:15:24 DC1 systemd[1]: Starting Samba SMB Daemon...
> 11162 Oct  8 22:15:24 DC1 smbd[27618]: [2021/10/08 22:15:24.956122,
>  0] ../../source3/smbd/server.c:1851(main)
> 11163 Oct  8 22:15:24 DC1 smbd[27618]:   server role = 'active
> directory domain controller' not compatible with running smbd
> standalone.

Are you attempting to start the smbd binary yourself ?
you should just start the samba binary and that will start the smbd &
winbind binaries.

> 11164 Oct  8 22:15:24 DC1 smbd[27618]:   You should start 'samba'
> instead, and it will control starting smbd if required
> 11165 Oct  8 22:15:24 DC1 systemd[1]: smbd.service: Supervising
> process 27520 which is not our child. We'll most likely not notice
> when it exits.
> 

Rowland





More information about the samba mailing list