mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +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>
This commit is contained in:
parent
ebe7297868
commit
40e5db4aab
@ -19,7 +19,7 @@ dbcheck() {
|
|||||||
|
|
||||||
# This list of attributes can be freely extended
|
# This list of attributes can be freely extended
|
||||||
dbcheck_fix_one_way_links() {
|
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
|
# This list of attributes can be freely extended
|
||||||
|
Loading…
Reference in New Issue
Block a user