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:
@ -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:
|
||||
|
Reference in New Issue
Block a user