[Samba] Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION

Rowland penny rpenny at samba.org
Wed Jul 24 13:17:47 UTC 2019


On 24/07/2019 12:53, Carlos via samba wrote:
> HI
>
> As the reported problem occurred, it follows logs of the join attempt 
> in DC with version 4.8.3.
>
> ======
>
Your starts here:

Committing SAM database
Adding 1 remote DNS records for DC-SAMBA-09.interno.XXXXXX.com.br
Adding DNS A record DC-SAMBA-09.interno.XXXXXX.com.br for IPv4 IP: 
192.168.9.240
Adding DNS CNAME record 
05d6c868-de73-4899-affa-a934228cc186._msdcs.interno.XXXXXX.com.br for 
DC-SAMBA-09.interno.XXXXXX.com.br
Join failed - cleaning up

Anything after this point can be ignored.

It looks like it cannot add a CNAME record, something similar to this 
has happened recently, but with Windows DCs.

Perhaps the fix is the same, stop the join from trying to create the DNS 
records.

You need to comment out three lines in join.py:

open 'join.py in your favourite editor 
(/usr/lib/python2.7/dist-packages/samba/join.py on my DC),
find these lines:

              if ctx.dns_backend != "NONE":
                  ctx.join_add_dns_records()
                  ctx.join_replicate_new_dns_records()

Line 1405 in my version, under '    def do_join(ctx):'

just comment out those three lines, save & close, then try the join again.

Rowland





More information about the samba mailing list