summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ipa/ipa_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c
index 9e42423f..b0fe523c 100644
--- a/src/providers/ipa/ipa_common.c
+++ b/src/providers/ipa/ipa_common.c
@@ -362,9 +362,9 @@ int ipa_get_id_options(struct ipa_options *ipa_opts,
}
ret = select_principal_from_keytab(tmpctx,
+ desired_primary, desired_realm,
dp_opt_get_string(ipa_opts->id->basic,
SDAP_KRB5_KEYTAB),
- desired_primary, desired_realm,
NULL, &primary, &realm);
if (ret != EOK) {
goto done;