[Samba] Samba 4.5.0 dbcheck problems
chrisa at acs-info.co.uk
Wed Dec 7 12:23:35 UTC 2016
I've now upgraded to Samba-4.5.2 and I've tried running:
samba-tool domain tombstones expunge
but I simpley get:
Removed 0 objects and 0 links successfully, however I'm still seeing
several hundred errors when running a dbcheck with the "not remocing
dangling forward link" error.
I've checked my time.py and it has been renamed so the expunge process
should be using nettime.py.
Any ideas? Aside from removing the entries manually using ldbedit.
On 12 October 2016 at 13:29, Chris Alavoine <chrisa at acs-info.co.uk> wrote:
> Hi all,
> I've recently upgraded all our DC's (we have 9 spread over various global
> Sites) to 4.5.0.
> I run a dbcheck on our FSMO-owner DC once per day from a cron job and this
> threw up a ton of errors on the first pass after the upgrade. After running
> it several times with the --fix flag I've got the errors down to 603 but
> these last errors are refusing to be removed.
> Here is an example of each type:
> *ERROR: incorrect GUID component for member in object
> CN=examplegroup,OU=Groups,DC=example,DC=internal,DC=com -
> *ERROR: incorrect DN string component for member in object
> CN=admin-group-001,OU=Groups,DC=example,DC=internal,DC=com -
> *unable to find object for DN
> CN=test.user2,CN=Users,DC=example,DC=internal,DC=com - (No such Base DN:
> *Not removing dangling forward link*
> I have edited these entries to maintain anonymity.
> Any ideas on how to remove these errors?
> Replication appears to be working fine between all DCs (aside from one
> that is showing a WERR_BADFILE error, although I don't think this is
> related), we are able to use the domain as normal and performance seems
> good. Would be nice to clean up these errors though.
> ACS (Alavoine Computer Services Ltd)
> Chris Alavoine
> mob +44 (0)7724 710 730 <07724%20710730>
ACS (Alavoine Computer Services Ltd)
mob +44 (0)7724 710 730
More information about the samba