summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/gendb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/gendb.c b/source4/lib/gendb.c
index 0aeacbe701..7326975c1a 100644
--- a/source4/lib/gendb.c
+++ b/source4/lib/gendb.c
@@ -94,6 +94,10 @@ int gendb_search(struct ldb_context *ldb,
return count;
}
+/*
+ search the LDB for a specified record (by DN)
+*/
+
int gendb_search_dn(struct ldb_context *ldb,
TALLOC_CTX *mem_ctx,
const struct ldb_dn *dn,