diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-15 10:35:25 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-16 16:22:05 -0400 |
commit | 6a7b74548240c8076d6e75be5221272dfa80265d (patch) | |
tree | a3b864e26bbdb602ecaee38aebc1e9ce55f9f2d6 /src/providers/krb5/krb5_child.c | |
parent | df8252e0f0a26cc20d239d280b0100e335dfe17b (diff) | |
download | sssd-6a7b74548240c8076d6e75be5221272dfa80265d.tar.gz sssd-6a7b74548240c8076d6e75be5221272dfa80265d.tar.xz sssd-6a7b74548240c8076d6e75be5221272dfa80265d.zip |
Standardize on correct spelling of "principal" for krb5
https://fedorahosted.org/sssd/ticket/542
Diffstat (limited to 'src/providers/krb5/krb5_child.c')
-rw-r--r-- | src/providers/krb5/krb5_child.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index 18b7a220a..af9c2d1a8 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -63,7 +63,7 @@ struct krb5_child_ctx { char *kdcip; char *realm; - char *changepw_principle; + char *changepw_principal; char *ccache_dir; char *ccname_template; int auth_timeout; @@ -588,7 +588,7 @@ static errno_t changepw_child(int fd, struct krb5_req *kr) kerr = krb5_get_init_creds_password(kr->ctx, kr->creds, kr->princ, pass_str, prompter, kr, 0, - kr->krb5_ctx->changepw_principle, + kr->krb5_ctx->changepw_principal, kr->options); if (kerr != 0) { KRB5_DEBUG(1, kerr); @@ -721,7 +721,7 @@ static errno_t tgt_req_child(int fd, struct krb5_req *kr) if (kerr == KRB5KDC_ERR_KEY_EXP) { kerr = krb5_get_init_creds_password(kr->ctx, kr->creds, kr->princ, pass_str, sss_krb5_prompter, kr, 0, - kr->krb5_ctx->changepw_principle, + kr->krb5_ctx->changepw_principal, kr->options); krb5_free_cred_contents(kr->ctx, kr->creds); if (kerr == 0) { @@ -872,10 +872,10 @@ static int krb5_setup(struct krb5_req *kr, uint32_t offline) goto failed; } - kr->krb5_ctx->changepw_principle = getenv(SSSD_KRB5_CHANGEPW_PRINCIPLE); - if (kr->krb5_ctx->changepw_principle == NULL) { + kr->krb5_ctx->changepw_principal = getenv(SSSD_KRB5_CHANGEPW_PRINCIPAL); + if (kr->krb5_ctx->changepw_principal == NULL) { DEBUG(1, ("Cannot read [%s] from environment.\n", - SSSD_KRB5_CHANGEPW_PRINCIPLE)); + SSSD_KRB5_CHANGEPW_PRINCIPAL)); if (kr->pd->cmd == SSS_PAM_CHAUTHTOK) { goto failed; } |