mirror of
https://github.com/samba-team/samba.git
synced 2025-08-21 09:49:28 +03:00
selftest/dbcheck: Fix up RODC one-way links
Test accounts were replicated to the RODC and then deleted, causing
state links to remain in the database.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 40e5db4aab
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
5284920767
commit
f7e487fc4d
@ -19,7 +19,7 @@ dbcheck() {
|
||||
|
||||
# This list of attributes can be freely extended
|
||||
dbcheck_fix_one_way_links() {
|
||||
$PYTHON $BINDIR/samba-tool dbcheck --quiet --fix --yes fix_all_old_dn_string_component_mismatch --attrs="lastKnownParent defaultObjectCategory fromServer rIDSetReferences" --cross-ncs $ARGS
|
||||
$PYTHON $BINDIR/samba-tool dbcheck --quiet --fix --yes fix_all_old_dn_string_component_mismatch --attrs="lastKnownParent defaultObjectCategory fromServer rIDSetReferences msDS-RevealOnDemandGroup msDS-NeverRevealGroup" --cross-ncs $ARGS
|
||||
}
|
||||
|
||||
# This list of attributes can be freely extended
|
||||
|
Reference in New Issue
Block a user