summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_subdomains.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-15 13:02:14 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:23 +0200
commit51b5e1475b3e0b7acac34ed382cfaca8411883a4 (patch)
treebc5b86176e3865b30c1ea5b7aa3ed9558f0ff1f5 /src/providers/ad/ad_subdomains.c
parent44ba573582072823d8760d0f18e5b3195cecc182 (diff)
downloadsssd-51b5e1475b3e0b7acac34ed382cfaca8411883a4.tar.gz
sssd-51b5e1475b3e0b7acac34ed382cfaca8411883a4.tar.xz
sssd-51b5e1475b3e0b7acac34ed382cfaca8411883a4.zip
AD: Rename ad_create_default_options to ad_create_2way_trust_options
Related: https://fedorahosted.org/sssd/ticket/2638 Better reflects what's going on in the function. Also adds a unit test. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/providers/ad/ad_subdomains.c')
-rw-r--r--src/providers/ad/ad_subdomains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c
index d889dfb6d..f67d49a85 100644
--- a/src/providers/ad/ad_subdomains.c
+++ b/src/providers/ad/ad_subdomains.c
@@ -115,7 +115,7 @@ ad_subdom_ad_ctx_new(struct be_ctx *be_ctx,
return EINVAL;
}
- ad_options = ad_create_default_options(id_ctx, realm, hostname);
+ ad_options = ad_create_2way_trust_options(id_ctx, realm, hostname);
if (ad_options == NULL) {
DEBUG(SSSDBG_OP_FAILURE, "Cannot initialize AD options\n");
talloc_free(ad_options);