Web lists-archives.com

[Samba] Dbcheck: cannot remove missing target object (msDS-NC-Replica-Locations)




Hello Folks,

I just upgraded from 4.1.13 to 4.6.2 (CentOS 6.8, x86_64) and I'm getting this error:

/usr/local/samba/bin/samba-tool dbcheck --cross-ncs --fix

Checking 7931 objects
ERROR: no target object found for GUID component for msDS-NC-Replica-Locations in object CN=d05db3d2-6378-4e97-9f7c-c1bae8bccec2,CN=Partitions,CN=Configuration,DC=foo,DC=bar,DC=ca - <GUID=cb30100c490c20409dfc437637d94dbf>;<RMD_ADDTIME=130233080950000000>;<RMD_CHANGETIME=130233080950000000>;<RMD_FLAGS=0>;<RMD_INVOCID=5cac4aa401700b4da6dec47e78cc081f>;<RMD_LOCAL_USN=6106>;<RMD_ORIGINATING_USN=7708>;<RMD_VERSION=1>;CN=NTDS Settings,CN=SRV-DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=foo,DC=bar,DC=ca
Not removing dangling forward link
ERROR: no target object found for GUID component for msDS-NC-Replica-Locations in object CN=a1dfa348-4a13-445d-88cc-5d96f4e800f7,CN=Partitions,CN=Configuration,DC=foo,DC=bar,DC=ca - <GUID=cb30100c490c20409dfc437637d94dbf>;<RMD_ADDTIME=130233080950000000>;<RMD_CHANGETIME=130233080950000000>;<RMD_FLAGS=0>;<RMD_INVOCID=5cac4aa401700b4da6dec47e78cc081f>;<RMD_LOCAL_USN=6088>;<RMD_ORIGINATING_USN=7710>;<RMD_VERSION=1>;CN=NTDS Settings,CN=SRV-DC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=foo,DC=bar,DC=ca
Not removing dangling forward link
Checked 7931 objects (2 errors)

I've seen someone else have this error on the list. He was told to ignore the errror message. The '--fix' does not do anything.

A tombstone expunge also does nothing:

/usr/local/samba/bin/samba-tool domain tombstones expunge
Removed 0 objects and 0 links successfully

Did I read correctly?   I don't seem to be having replication problems...

I suspect this is caused by the fact that SRV-DC2 was re-installed at one point.

Thank You!


--
Luc Lalonde, analyste
-----------------------------
Département de génie informatique:
École polytechnique de MTL
(514) 340-4711 x5049
Luc.Lalonde@xxxxxxxxxx
-----------------------------


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba