Skip to content

Commit

Permalink
ipa: Rename ipa_create_ad_1way_trust_ctx()
Browse files Browse the repository at this point in the history
This gets executed when a one-way or two-way trust ipa
is added. Rename this to avoid confusion.
  • Loading branch information
justin-stephenson committed May 30, 2024
1 parent 1356f05 commit d446636
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/providers/ipa/ipa_subdomains_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d446636

Please sign in to comment.