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:18:53 -0500
commit545432a63359fbba14a344e6f38279541d0004c2 (patch)
tree5731be50bcf888d68b1313e3866f6f756ba7c19a /server/db/sysdb.h
parente4be4c446da6dc15f2778c93f22611c93b981e4d (diff)
downloadsssd-545432a63359fbba14a344e6f38279541d0004c2.tar.gz
sssd-545432a63359fbba14a344e6f38279541d0004c2.tar.xz
sssd-545432a63359fbba14a344e6f38279541d0004c2.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);