summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 911430eef..17cd5110c 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -481,6 +481,11 @@ int sysdb_get_netgroup_attr(TALLOC_CTX *mem_ctx,
const char **attributes,
struct ldb_result **res);
+errno_t sss_ldb_search(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
+ struct ldb_result **_result, struct ldb_dn *base,
+ enum ldb_scope scope, const char * const *attrs,
+ const char *exp_fmt, ...) SSS_ATTRIBUTE_PRINTF(7, 8);
+
/* functions that modify the databse
* they have to be called within a transaction
* See sysdb_transaction_send()/_recv() */