summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbutil.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-04 20:05:59 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-04 20:35:44 +1100
commit6a22d8938c36de8e8a6e99eadca896bdb9802b1d (patch)
tree55a035b958660f9919e9b205449f187d17b5886f /source4/lib/ldb/tools/ldbutil.h
parentcf37c29cd009f9378ffa4d3ee54b38aef9fa066b (diff)
downloadsamba-6a22d8938c36de8e8a6e99eadca896bdb9802b1d.tar.gz
samba-6a22d8938c36de8e8a6e99eadca896bdb9802b1d.tar.bz2
samba-6a22d8938c36de8e8a6e99eadca896bdb9802b1d.zip
s4-ldb: honor controls on search in ldbedit
Diffstat (limited to 'source4/lib/ldb/tools/ldbutil.h')
-rw-r--r--source4/lib/ldb/tools/ldbutil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/ldb/tools/ldbutil.h b/source4/lib/ldb/tools/ldbutil.h
index 7747dbec64..f8d3f3a210 100644
--- a/source4/lib/ldb/tools/ldbutil.h
+++ b/source4/lib/ldb/tools/ldbutil.h
@@ -39,3 +39,8 @@ int ldb_delete_ctrl(struct ldb_context *ldb, struct ldb_dn *dn,
int ldb_modify_ctrl(struct ldb_context *ldb,
const struct ldb_message *message,
struct ldb_control **controls);
+int ldb_search_ctrl(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
+ struct ldb_result **result, struct ldb_dn *base,
+ enum ldb_scope scope, const char * const *attrs,
+ struct ldb_control **controls,
+ const char *exp_fmt, ...);