diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-07-12 11:12:21 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-07-13 12:51:05 +0200 |
commit | 534c1ca00ef1d658c4cefe72fcc3acb101635ae9 (patch) | |
tree | 9d7bc11152a4159b1b4b3d4f11057304c35143b1 | |
parent | 0ab3086b46259a4627eabab93ebda41fd21408b0 (diff) | |
download | samba-534c1ca00ef1d658c4cefe72fcc3acb101635ae9.tar.gz samba-534c1ca00ef1d658c4cefe72fcc3acb101635ae9.tar.bz2 samba-534c1ca00ef1d658c4cefe72fcc3acb101635ae9.zip |
dbcheck: fixed ldap check with no database specified
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
-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 823ec7a101..6c47f85346 100644 --- a/source4/scripting/python/samba/netcmd/dbcheck.py +++ b/source4/scripting/python/samba/netcmd/dbcheck.py @@ -88,7 +88,7 @@ class cmd_dbcheck(Command): search_scope = scope_map[scope] controls = ['show_deleted:1'] - if H.startswith('ldap'): + if over_ldap: controls.append('paged_results:1:1000') if cross_ncs: controls.append("search_options:1:2") |