diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-03-20 16:45:52 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-03-20 16:45:52 +1100 |
commit | 4a45b0da5743f76f77c812d03ee625af10fb2a54 (patch) | |
tree | 20b93d9e051c979fb66de5627b729dc41e68bbe4 /source4/lib | |
parent | f696bb81f8499443eee9815e7adf8dbb6810506a (diff) | |
download | samba-4a45b0da5743f76f77c812d03ee625af10fb2a54.tar.gz samba-4a45b0da5743f76f77c812d03ee625af10fb2a54.tar.bz2 samba-4a45b0da5743f76f77c812d03ee625af10fb2a54.zip |
s4:ldb Allow paged_searches to be mixed with other controls
I want to mix this with the server-side sort in particular.
Andrew Bartlett
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/modules/paged_searches.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/modules/paged_searches.c b/source4/lib/ldb/modules/paged_searches.c index 70b880e2dd..c5430eb9bf 100644 --- a/source4/lib/ldb/modules/paged_searches.c +++ b/source4/lib/ldb/modules/paged_searches.c @@ -230,10 +230,10 @@ static int ps_search(struct ldb_module *module, struct ldb_request *req) private_data = talloc_get_type(ldb_module_get_private(module), struct private_data); ldb = ldb_module_get_ctx(module); - /* check if paging is supported and if there is a any control */ - if (!private_data || !private_data->paged_supported || req->controls) { + /* check if paging is supported */ + if (!private_data || !private_data->paged_supported) { /* do not touch this request paged controls not - * supported or explicit controls have been set or we + * supported or we * are just not setup yet */ return ldb_next_request(module, req); } |