|
|
b2d430 |
From 4ec714f1681355d95420733a40e3c37cd0bfe6ee Mon Sep 17 00:00:00 2001
|
|
|
b2d430 |
From: Sumit Bose <sbose@redhat.com>
|
|
|
b2d430 |
Date: Thu, 23 Jun 2016 11:58:30 +0200
|
|
|
b2d430 |
Subject: [PATCH 22/27] IPA: read ipaNTAdditionalSuffixes for master and
|
|
|
b2d430 |
trusted domains
|
|
|
b2d430 |
|
|
|
b2d430 |
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
b2d430 |
(cherry picked from commit 39f21d2b61685362642d42bc2f94f829671cd5ef)
|
|
|
b2d430 |
---
|
|
|
b2d430 |
src/providers/ipa/ipa_subdomains.c | 7 +++++--
|
|
|
b2d430 |
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
b2d430 |
|
|
|
b2d430 |
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
|
|
|
b2d430 |
index a02a65d97dde68f1da900b9fdca05c54035ce005..263d6207960c232d08114bd0163b3fd03a690685 100644
|
|
|
b2d430 |
--- a/src/providers/ipa/ipa_subdomains.c
|
|
|
b2d430 |
+++ b/src/providers/ipa/ipa_subdomains.c
|
|
|
b2d430 |
@@ -40,6 +40,7 @@
|
|
|
b2d430 |
#define IPA_SID "ipaNTSecurityIdentifier"
|
|
|
b2d430 |
#define IPA_TRUSTED_DOMAIN_SID "ipaNTTrustedDomainSID"
|
|
|
b2d430 |
#define IPA_RANGE_TYPE "ipaRangeType"
|
|
|
b2d430 |
+#define IPA_ADDITIONAL_SUFFIXES "ipaNTAdditionalSuffixes"
|
|
|
b2d430 |
|
|
|
b2d430 |
#define IPA_BASE_ID "ipaBaseID"
|
|
|
b2d430 |
#define IPA_ID_RANGE_SIZE "ipaIDRangeSize"
|
|
|
b2d430 |
@@ -788,7 +789,8 @@ ipa_subdomains_master_send(TALLOC_CTX *mem_ctx,
|
|
|
b2d430 |
struct tevent_req *subreq;
|
|
|
b2d430 |
struct tevent_req *req;
|
|
|
b2d430 |
errno_t ret;
|
|
|
b2d430 |
- const char *attrs[] = { IPA_CN, IPA_FLATNAME, IPA_SID, NULL };
|
|
|
b2d430 |
+ const char *attrs[] = { IPA_CN, IPA_FLATNAME, IPA_SID,
|
|
|
b2d430 |
+ IPA_ADDITIONAL_SUFFIXES, NULL };
|
|
|
b2d430 |
|
|
|
b2d430 |
req = tevent_req_create(mem_ctx, &state,
|
|
|
b2d430 |
struct ipa_subdomains_master_state);
|
|
|
b2d430 |
@@ -939,7 +941,8 @@ ipa_subdomains_slave_send(TALLOC_CTX *mem_ctx,
|
|
|
b2d430 |
struct tevent_req *req;
|
|
|
b2d430 |
errno_t ret;
|
|
|
b2d430 |
const char *attrs[] = { IPA_CN, IPA_FLATNAME, IPA_TRUSTED_DOMAIN_SID,
|
|
|
b2d430 |
- IPA_TRUST_DIRECTION, NULL };
|
|
|
b2d430 |
+ IPA_TRUST_DIRECTION, IPA_ADDITIONAL_SUFFIXES,
|
|
|
b2d430 |
+ NULL };
|
|
|
b2d430 |
|
|
|
b2d430 |
req = tevent_req_create(mem_ctx, &state,
|
|
|
b2d430 |
struct ipa_subdomains_slave_state);
|
|
|
b2d430 |
--
|
|
|
b2d430 |
2.4.11
|
|
|
b2d430 |
|