diff options
author | Sumit Bose <sbose@redhat.com> | 2012-10-18 17:40:48 +0200 |
---|---|---|
committer | Sumit Bose <sbose@redhat.com> | 2012-10-26 10:32:05 +0200 |
commit | 73550e4cc5abf4c639a65c7c65d68d9dd2ed64f7 (patch) | |
tree | a74ecc5d67cbacdc83ab3dd04a32507721cfa6e1 /src/db/sysdb.h | |
parent | d29e91321d175dce94d87c23a44ced40d265de2c (diff) | |
download | sssd-73550e4cc5abf4c639a65c7c65d68d9dd2ed64f7.tar.gz sssd-73550e4cc5abf4c639a65c7c65d68d9dd2ed64f7.tar.xz sssd-73550e4cc5abf4c639a65c7c65d68d9dd2ed64f7.zip |
sysdb: add sysdb_base_dn()
Add a help function which returns the ldb_dn object for the base dn of
the cache.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |