summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-12 14:24:00 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:44:39 +0200
commitea224c3813a537639778f91ac762732b3c289603 (patch)
tree5b6536c6d173523ea8d91a6926c702f47ddb85ce /src/util/util.h
parent56e88cd5f3501566778b138e4934ee8e7f3fa674 (diff)
downloadsssd-ea224c3813a537639778f91ac762732b3c289603.tar.gz
sssd-ea224c3813a537639778f91ac762732b3c289603.tar.xz
sssd-ea224c3813a537639778f91ac762732b3c289603.zip
SYSDB: Store trust direction for subdomains
We need to store the subdomain trust direction in order to recover the structure after SSSD restart. The trust direction is a plain uint32_t to avoid leaking the knowledge about AD trust directions to sysdb while at the same time making it easy to compare values between sysdb and LDAP and avoid translating the values. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/util.h b/src/util/util.h
index c86bcea5b..8eaeef45d 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -577,7 +577,8 @@ struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx,
const char *id,
bool mpg,
bool enumerate,
- const char *forest);
+ const char *forest,
+ uint32_t trust_direction);
errno_t sssd_domain_init(TALLOC_CTX *mem_ctx,
struct confdb_ctx *cdb,