1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

dbcheck: fixed ldap check with no database specified

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Andrew Tridgell 2011-07-12 11:12:21 +10:00
parent 0ab3086b46
commit 534c1ca00e

View File

@ -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")