From 758eeccc3dc1844297a2b30bab6d086696decf7e Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Wed, 1 May 2024 19:43:36 +0000 Subject: [PATCH] ipa: Rename ipa_create_ad_1way_trust_ctx() This gets executed when a one-way or two-way trust ipa is added. Rename this to avoid confusion. --- src/providers/ipa/ipa_subdomains_server.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/providers/ipa/ipa_subdomains_server.c b/src/providers/ipa/ipa_subdomains_server.c index 038b760e038..eacf170e8fd 100644 --- a/src/providers/ipa/ipa_subdomains_server.c +++ b/src/providers/ipa/ipa_subdomains_server.c @@ -204,7 +204,7 @@ ipa_create_ipa_trust_ctx(struct ipa_id_ctx *id_ctx, } static struct ad_options * -ipa_create_ad_1way_trust_ctx(struct ipa_id_ctx *id_ctx, +ipa_create_ad_trust_ctx(struct ipa_id_ctx *id_ctx, struct be_ctx *be_ctx, const char *subdom_conf_path, const char *forest, @@ -266,9 +266,9 @@ static struct ad_options *ipa_ad_options_new(struct be_ctx *be_ctx, * thus we always should be initializing principals/keytabs * as if we are running one-way trust */ if (direction & LSA_TRUST_DIRECTION_MASK) { - ad_options = ipa_create_ad_1way_trust_ctx(id_ctx, be_ctx, - subdom_conf_path, forest, - forest_realm, subdom); + ad_options = ipa_create_ad_trust_ctx(id_ctx, be_ctx, + subdom_conf_path, forest, + forest_realm, subdom); } else { DEBUG(SSSDBG_CRIT_FAILURE, "Unsupported trust direction!\n"); ad_options = NULL;