diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-15 14:13:40 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-14 21:47:29 +0200 |
commit | 30dd3f3e063dded0ec9f58bc2535a94727d8e96d (patch) | |
tree | c7a0fea133261dd2734a2d534b8c4d1959d4686a /src/providers/ad/ad_common.h | |
parent | 0c37b025b3da6bed26d7c84c4254f8ecc05bfc77 (diff) | |
download | sssd-30dd3f3e063dded0ec9f58bc2535a94727d8e96d.tar.gz sssd-30dd3f3e063dded0ec9f58bc2535a94727d8e96d.tar.xz sssd-30dd3f3e063dded0ec9f58bc2535a94727d8e96d.zip |
AD: Add ad_create_1way_trust_options
Related:
https://fedorahosted.org/sssd/ticket/2638
For one-way trusts we can assume that AD domain is the same as the
Kerberis realm. On the other hand, SASL realm and keytab path are
specified, unlike two-way trusts that use the system keytab.
Includes a unit test.
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/providers/ad/ad_common.h')
-rw-r--r-- | src/providers/ad/ad_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h index 0766b4dc9..817f5b42c 100644 --- a/src/providers/ad/ad_common.h +++ b/src/providers/ad/ad_common.h @@ -110,6 +110,12 @@ struct ad_options *ad_create_2way_trust_options(TALLOC_CTX *mem_ctx, const char *ad_domain, const char *hostname); +struct ad_options *ad_create_1way_trust_options(TALLOC_CTX *mem_ctx, + const char *ad_domain, + const char *hostname, + const char *keytab, + const char *sasl_authid); + errno_t ad_failover_init(TALLOC_CTX *mem_ctx, struct be_ctx *ctx, const char *primary_servers, |