Upon applying the patch provided by Andrew, the dbcheck functionality works now. sudo samba-tool dbcheck Checking 321 objects Checked 321 objects (0 errors)