1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-16 20:59:12 +03:00

dbcheck: check all objects, including deleted objects

this makes dbcheck search over all objects, deleted or not. This
matters because when another DC replicates from this DC it replicates
the deleted objects as well, so invalid attributes in deleted objects
can cause problems on the new DC (for example, windows can get stuck
or even crash during the replication)

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Andrew Tridgell
2011-07-11 12:23:01 +10:00
parent 6f6cda72fc
commit e14725c8fe
2 changed files with 18 additions and 17 deletions

View File

@ -86,7 +86,7 @@ class cmd_dbcheck(Command):
raise CommandError("Unknown scope %s" % scope)
search_scope = scope_map[scope]
controls = []
controls = ['show_deleted:1']
if H.startswith('ldap'):
controls.append('paged_results:1:1000')
if cross_ncs: