summaryrefslogtreecommitdiff
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-09-25 13:42:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-27 10:33:25 +0200
commitc5711b0279ea85d69fe3c77dfb194360c346e1d7 (patch)
treeffc3b851532fdd0635f5b7b882f593aaa81681f4 /src/db/sysdb.h
parent82d248c7e7d61dba7065a1a744823bc06c1b5b96 (diff)
downloadsssd-c5711b0279ea85d69fe3c77dfb194360c346e1d7.tar.gz
sssd-c5711b0279ea85d69fe3c77dfb194360c346e1d7.tar.bz2
sssd-c5711b0279ea85d69fe3c77dfb194360c346e1d7.zip
IPA: store forest name for forest member domains
In order to fix https://fedorahosted.org/sssd/ticket/2093 the name of the forest must be known for a member domain of the forest.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index c2a42d5c..2f73873f 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -128,6 +128,7 @@
#define SYSDB_SUBDOMAIN_ID "domainID"
#define SYSDB_SUBDOMAIN_MPG "mpg"
#define SYSDB_SUBDOMAIN_ENUM "enumerate"
+#define SYSDB_SUBDOMAIN_FOREST "memberOfForest"
#define SYSDB_BASE_ID "baseID"
#define SYSDB_ID_RANGE_SIZE "idRangeSize"
@@ -375,7 +376,7 @@ errno_t sysdb_domain_create(struct sysdb_ctx *sysdb, const char *domain_name);
errno_t sysdb_subdomain_store(struct sysdb_ctx *sysdb,
const char *name, const char *realm,
const char *flat_name, const char *domain_id,
- bool mpg, bool enumerate);
+ bool mpg, bool enumerate, const char *forest);
errno_t sysdb_update_subdomains(struct sss_domain_info *domain);