[Samba] Exception and error (WERR_DNS_ERROR_RCODE_NAME_ERROR) joining samba 4.15.5 to an existing W2012R2 domain

Rowland Penny rpenny at samba.org
Mon Feb 14 10:37:07 UTC 2022


On Mon, 2022-02-14 at 11:17 +0100, L. van Belle via samba wrote:
> The important part of thie message. 

Sorry, but no it isn't :-)

> 
> Could not find machine account in secrets database: Failed to fetch
> machine
> account password for KK from both 
> secrets.ldb (Could not find entry to match filter:
> '(&(flatname=KK)(objectclass=primaryDomain))' base: 'cn=Primary
> Domains': No
> such object: dsdb_search at ../../source4/dsdb/common/util.c:4774)
> and from 
> 
> This is the hint : cn=Primary Domains

No, the hint was:

Join failed - cleaning up

Anything after that can be ignored, it is an artefact of the join
failing.

> 
> Was this from origin a 2003 server? 

That could be the problem, the join is failing because it cannot add an
'A' record, perhaps there isn't anywhere to put it.

> 
> Read this carefully. 
> https://wiki.samba.org/index.php/Samba_AD_DC_Troubleshooting 
> * also https://bugzilla.samba.org/show_bug.cgi?id=13298 
> 
> I did look for a solution here, i know there is one but i cant find
> it. 
> Sooo.. Lets hope Rowland his memory is better then mine today. ;-) 

Err, who are you ??? :-D

Rowland





More information about the samba mailing list