From 73550e4cc5abf4c639a65c7c65d68d9dd2ed64f7 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 18 Oct 2012 17:40:48 +0200 Subject: sysdb: add sysdb_base_dn() Add a help function which returns the ldb_dn object for the base dn of the cache. --- src/db/sysdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/db/sysdb.h') diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 0ce6beaa3..8fe0e81c1 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -328,6 +328,7 @@ struct ldb_dn *sysdb_netgroup_base_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_c errno_t sysdb_group_dn_name(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx, const char *dn_str, char **name); struct ldb_dn *sysdb_domain_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx); +struct ldb_dn *sysdb_base_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx); struct ldb_dn *sysdb_custom_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx, const char *object_name, const char *subtree_name); -- cgit