summaryrefslogtreecommitdiffstats
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-09-17 11:11:54 +0200
committerSimo Sorce <ssorce@redhat.com>2009-11-07 13:15:53 -0500
commit6922197ba66b8d8806d95179312821901f7de085 (patch)
tree7ccc194e90cf208cb6ac9e17c455a9931dd785e2 /server/db/sysdb.h
parent2baa90f92dce1cb5b71c7a0b7b8e2ed93f704e77 (diff)
downloadsssd-6922197ba66b8d8806d95179312821901f7de085.tar.gz
sssd-6922197ba66b8d8806d95179312821901f7de085.tar.xz
sssd-6922197ba66b8d8806d95179312821901f7de085.zip
added access module of IPA provider
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 85aea4b74..68486de42 100644
--- a/server/db/sysdb.h
+++ b/server/db/sysdb.h
@@ -140,6 +140,7 @@
#define SYSDB_TMPL_USER SYSDB_NAME"=%s,"SYSDB_TMPL_USER_BASE
#define SYSDB_TMPL_GROUP SYSDB_NAME"=%s,"SYSDB_TMPL_GROUP_BASE
+#define SYSDB_TMPL_CUSTOM_SUBTREE "cn=%s,"SYSDB_TMPL_CUSTOM_BASE
#define SYSDB_TMPL_CUSTOM SYSDB_NAME"=%s,cn=%s,"SYSDB_TMPL_CUSTOM_BASE
#define SYSDB_MOD_ADD LDB_FLAG_MOD_ADD
@@ -193,6 +194,9 @@ struct ldb_dn *sysdb_domain_dn(struct sysdb_ctx *ctx, void *memctx,
struct ldb_dn *sysdb_custom_dn(struct sysdb_ctx *ctx, void *memctx,
const char *domain, const char *object_name,
const char *subtree_name);
+struct ldb_dn *sysdb_custom_subtree_dn(struct sysdb_ctx *ctx, void *memctx,
+ const char *domain,
+ const char *subtree_name);