[Samba] Error when joining new DC

Rowland Penny
2024-12-11T17:00:09Z

On Wed, 11 Dec 2024 16:46:37 +0000
Peter Mittermayer via samba <samba at lists.samba.org> wrote:

> Hi,
> To rule out any issues with cryptographic libraries I have tried to
> join only after setting 'update-crypto-policies --set
> DEFAULT:AD-SUPPORT-LEGACY' and as this did not make a difference
> 'update-crypto-policies --set LEGACY' each followed by a reboot. So
I
> don't think it is related to that.
>
> As the error is
> ...
> Could not find machine account in secrets database: Failed to fetch
> machine account password for SUB from both secrets.ldb (Could not
> find entry to match filter:
> '(&(flatname=SUB)(objectclass=primaryDomain))' base:
'cn=Primary
> Domains': No such object: dsdb_search at
> ../../source4/dsdb/common/util.c:5731) and from
> /usr/local/samba/private/secrets.tdb:
> NT_STATUS_CANT_ACCESS_DOMAIN_INFO ...

That isn't your error, that is an artefact of the error happening and
the clean up afterwards.

What OS is this ?
It appears to be redhat based, but which one ?

Rowland