diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-07-11 12:23:01 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-07-11 14:32:44 +1000 |
commit | e14725c8fe4c257d9951d48d3093ecb9916abfae (patch) | |
tree | 6af632621972216b052be894f45bbd4b4cea3ee5 /source4/scripting/python/samba/netcmd | |
parent | 6f6cda72fc6d737060dd1f747b0e3b0f497b8d57 (diff) | |
download | samba-e14725c8fe4c257d9951d48d3093ecb9916abfae.tar.gz samba-e14725c8fe4c257d9951d48d3093ecb9916abfae.tar.xz samba-e14725c8fe4c257d9951d48d3093ecb9916abfae.zip |
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>
Diffstat (limited to 'source4/scripting/python/samba/netcmd')
-rw-r--r-- | source4/scripting/python/samba/netcmd/dbcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/dbcheck.py b/source4/scripting/python/samba/netcmd/dbcheck.py index fce45306ca..203d447b12 100644 --- a/source4/scripting/python/samba/netcmd/dbcheck.py +++ b/source4/scripting/python/samba/netcmd/dbcheck.py @@ -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: |