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:
parent
0ab3086b46
commit
534c1ca00e
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user