[Samba] bind crashes after samba upgrade

Rowland Penny rpenny at samba.org
Wed Dec 27 17:04:14 UTC 2023


On Wed, 27 Dec 2023 11:46:02 -0500
Sonic <sonicsmith at gmail.com> wrote:

> On Wed, Dec 27, 2023 at 11:39 AM Rowland Penny via samba
> <samba at lists.samba.org> wrote:
> > Perfectly okay, but even better would be to use Samba from
> > bookworm-backports.
> I'll do that next time.
> 
> > You cannot specify '--use-rfc2307' on a DC join, only when you
> > provision a new domain.
> I was referring to this in the Wiki:
> "If the other DCs are Samba DCs and were provisioned with
> --use-rfc2307, you Should add --option='idmap_ldb:use rfc2307 = yes'
> to the join command"

That is not quite the same thing. When you provision a new domain, the
'--use-rfc2307' switch adds an ldif and 'idmap_ldb:use rfc2307 = yes'
to the smb.conf, but on a join adding the 'option' line just adds the
'idmap_ldb' line to the new DCs smb.conf. It is what the line does that
is important.Without it, you will only get IDs in the '3000000' range,
even if there are uidNumber & gidNumber attributes in AD, with the
line, if there are uidNumber & gidNumber attributes, they will be used
instead of the '3000000' numbers.

> 
> > The schema is replicated from the existing DC.
> Can the schema then be upgraded once the old DC is removed?

Yes

Rowland

PS Please just reply to the list.
1`



More information about the samba mailing list