summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-15 12:58:19 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:23 +0200
commit44ba573582072823d8760d0f18e5b3195cecc182 (patch)
treefc9c1cf7f5d8c9579fcf3707c86fb39c17881e1a
parent64ea4127f463798410a2c20e0261c6b15f60257f (diff)
downloadsssd-44ba573582072823d8760d0f18e5b3195cecc182.tar.gz
sssd-44ba573582072823d8760d0f18e5b3195cecc182.tar.xz
sssd-44ba573582072823d8760d0f18e5b3195cecc182.zip
AD: Rename ad_set_ad_id_options to ad_set_sdap_options
Related: https://fedorahosted.org/sssd/ticket/2638 The function sets SDAP related options based on the AD ID context options. The name should reflect what the function does. Reviewed-by: Sumit Bose <sbose@redhat.com>
-rw-r--r--src/providers/ad/ad_common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/providers/ad/ad_common.c b/src/providers/ad/ad_common.c
index 5eeb8dd74..4ae08c5a1 100644
--- a/src/providers/ad/ad_common.c
+++ b/src/providers/ad/ad_common.c
@@ -30,8 +30,8 @@ struct ad_server_data {
};
errno_t ad_set_search_bases(struct sdap_options *id_opts);
-static errno_t ad_set_ad_id_options(struct ad_options *ad_opts,
- struct sdap_options *id_opts);
+static errno_t ad_set_sdap_options(struct ad_options *ad_opts,
+ struct sdap_options *id_opts);
static struct sdap_options *
ad_create_default_sdap_options(TALLOC_CTX *mem_ctx)
@@ -148,7 +148,7 @@ ad_create_default_options(TALLOC_CTX *mem_ctx,
return NULL;
}
- ret = ad_set_ad_id_options(ad_options, ad_options->id);
+ ret = ad_set_sdap_options(ad_options, ad_options->id);
if (ret != EOK) {
talloc_free(ad_options);
return NULL;
@@ -831,8 +831,8 @@ done:
}
static errno_t
-ad_set_ad_id_options(struct ad_options *ad_opts,
- struct sdap_options *id_opts)
+ad_set_sdap_options(struct ad_options *ad_opts,
+ struct sdap_options *id_opts)
{
errno_t ret;
char *krb5_realm;
@@ -910,7 +910,7 @@ ad_get_id_options(struct ad_options *ad_opts,
return ENOMEM;
}
- ret = ad_set_ad_id_options(ad_opts, id_opts);
+ ret = ad_set_sdap_options(ad_opts, id_opts);
if (ret != EOK) {
talloc_free(id_opts);
return ret;