From 39018ab9022d8bd2cc58a52cf4834c5ce7c5455f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 12 Aug 2006 15:20:06 +0000 Subject: r17503: Add a useful function to search for a DN (This used to be commit 8c6efd7b55e4ad45e1bd10519a1b91285a4e0347) --- source4/lib/ldb/include/ldb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/ldb/include') diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 5a49ae357f..e560068d0c 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -1269,6 +1269,10 @@ const char *ldb_msg_find_string(const struct ldb_message *msg, const char *attr_name, const char *default_value); +struct ldb_dn *ldb_msg_find_dn(void *mem_ctx, + const struct ldb_message *msg, + const char *attr_name); + void ldb_msg_sort_elements(struct ldb_message *msg); struct ldb_message *ldb_msg_copy_shallow(void *mem_ctx, -- cgit