summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-30 15:40:36 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-12-07 10:19:03 -0500
commiteffa7cd25f32c88aeb1478f5305bb185434867be (patch)
tree4fad1631f60005a8251960fb52a467dd8d7d5f2c /server/db/sysdb.h
parentde1c7b4542d8c922756d73a0c78d68bb961cc7ec (diff)
downloadsssd-effa7cd25f32c88aeb1478f5305bb185434867be.tar.gz
sssd-effa7cd25f32c88aeb1478f5305bb185434867be.tar.xz
sssd-effa7cd25f32c88aeb1478f5305bb185434867be.zip
Make strdn build functions more available
Diffstat (limited to 'server/db/sysdb.h')
-rw-r--r--server/db/sysdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/db/sysdb.h b/server/db/sysdb.h
index 9348c57fb..c345caf8e 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -192,6 +192,10 @@ struct ldb_dn *sysdb_custom_subtree_dn(struct sysdb_ctx *ctx, void *memctx,
const char *domain,
const char *subtree_name);
+char *sysdb_user_strdn(TALLOC_CTX *memctx,
+ const char *domain, const char *name);
+char *sysdb_group_strdn(TALLOC_CTX *memctx,
+ const char *domain, const char *name);
struct ldb_context *sysdb_ctx_get_ldb(struct sysdb_ctx *ctx);