[Samba] Samba keeps crashing when in AD mode due to mitkdc exiting.

Rowland Penny rpenny at samba.org
Thu Jun 9 15:26:15 UTC 2022


On Thu, 2022-06-09 at 06:48 -0700, Matthew Schumacher via samba wrote:
> On 6/8/22 11:19 PM, Rowland Penny via samba wrote:
> > On Wed, 2022-06-08 at 16:05 -0700, Matthew Schumacher via samba
> > wrote:
> > > I took some time to recompile and test out.  This page
> > > https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory
> > > suggests you call kinit before you you join the domain but kinit
> > > is
> > > from
> > > my OS now since kerberos is internal.  I think this might have
> > > something
> > > to do with the next error which is I can't join the domain with
> > > "--dns-backend=BIND9_DLZ"
> > > 
> > > I get the following:
> > > 
> > > root at auth:/var/lib/samba/private# samba-tool domain join
> > > admin.domain.net DC -U"ADMIN\administrator" --dns-
> > > backend=BIND9_DLZ
> > > --server masterdc

Try it like this:

sudo samba-tool domain join EXAMPLE DC -UAdministrator --
realm=EXAMPLE.COM --dns-backend=BIND9_DLZ --option="idmap_ldb:use
rfc2307 = yes"

Replace 'EXAMPLE' with your Netbios domain name and 'EXAMPLE.COM' with
your realm.

Rowland






More information about the samba mailing list