diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-15 13:17:50 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-14 21:47:23 +0200 |
commit | 933314e53fac878d1a9b126af216454172cb945a (patch) | |
tree | 8c86676ea35beb9ffab8ad9e7c6431f51eeacf78 /src/providers/ad/ad_common.h | |
parent | 51b5e1475b3e0b7acac34ed382cfaca8411883a4 (diff) | |
download | sssd-933314e53fac878d1a9b126af216454172cb945a.tar.gz sssd-933314e53fac878d1a9b126af216454172cb945a.tar.xz sssd-933314e53fac878d1a9b126af216454172cb945a.zip |
AD: Split off ad_create_default_options
Related:
https://fedorahosted.org/sssd/ticket/2638
Make the function reusable and add a simple 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ad/ad_common.h b/src/providers/ad/ad_common.h index 5be2bcd84..07b9d734f 100644 --- a/src/providers/ad/ad_common.h +++ b/src/providers/ad/ad_common.h @@ -103,6 +103,8 @@ ad_get_common_options(TALLOC_CTX *mem_ctx, struct sss_domain_info *dom, struct ad_options **_opts); +struct ad_options *ad_create_default_options(TALLOC_CTX *mem_ctx); + struct ad_options *ad_create_2way_trust_options(TALLOC_CTX *mem_ctx, const char *realm, const char *hostname); |