summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-04-29 11:49:35 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-04-29 12:02:28 -0400
commite2be78260b50868409a1e1c823def9735ad65982 (patch)
tree9a00966369db3f9e6dd3d573ceacbfaa2be862e3
parentfffdae81651b460f3d2c119c56d5caa09b4de42a (diff)
downloadsssd-e2be78260b50868409a1e1c823def9735ad65982.tar.gz
sssd-e2be78260b50868409a1e1c823def9735ad65982.tar.bz2
sssd-e2be78260b50868409a1e1c823def9735ad65982.zip
Fix order of arguments in select_principal_from_keytab() call
-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;