git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1c443
)
dbcheck: only use a paged search when checking a ldap database
author
Andrew Tridgell
<tridge@samba.org>
Tue, 5 Jul 2011 02:44:07 +0000
(12:44 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 5 Jul 2011 05:10:03 +0000
(07:10 +0200)
paged searches don't work against a local database (they return only
the first N objects)
source4/scripting/python/samba/netcmd/dbcheck.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/netcmd/dbcheck.py
b/source4/scripting/python/samba/netcmd/dbcheck.py
index 3cc50eb814a161fc066cb8d8b5c5088f8e7f3baa..c97942bc90f5aae7ba9fe43ed6304ae8dd1b5cd8 100644
(file)
--- a/
source4/scripting/python/samba/netcmd/dbcheck.py
+++ b/
source4/scripting/python/samba/netcmd/dbcheck.py
@@
-80,7
+80,7
@@
class cmd_dbcheck(Command):
search_scope = scope_map[scope]
controls = []
- if H
is not None
:
+ if H
.startswith('ldap')
:
controls.append('paged_results:1:1000')
if cross_ncs:
controls.append("search_options:1:2")