diff options
author | Sumit Bose <sbose@redhat.com> | 2010-02-19 16:42:50 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-19 16:10:06 -0500 |
commit | 872f00c1956630ae05a8d956e2a6ff9d12659512 (patch) | |
tree | f60dae5dffefb1a56b73fcc2bb649b14ef5f4260 /src/providers | |
parent | 452af66b06cc0f43650cc9c507a28d4d1fd9f916 (diff) | |
download | sssd-872f00c1956630ae05a8d956e2a6ff9d12659512.tar.gz sssd-872f00c1956630ae05a8d956e2a6ff9d12659512.tar.bz2 sssd-872f00c1956630ae05a8d956e2a6ff9d12659512.zip |
Send Kerberos environment after password change
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/krb5/krb5_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c index a2dadc80..19bc998e 100644 --- a/src/providers/krb5/krb5_auth.c +++ b/src/providers/krb5/krb5_auth.c @@ -1092,7 +1092,7 @@ static void krb5_save_ccname_done(struct tevent_req *req) int ret; char *password = NULL; - if (pd->cmd == SSS_PAM_AUTHENTICATE) { + if (pd->cmd == SSS_PAM_AUTHENTICATE || pd->cmd == SSS_PAM_CHAUTHTOK) { ret = add_krb5_env(krb5_ctx->opts, kr->ccname, pd); if (ret != EOK) { DEBUG(1, ("add_krb5_env failed.\n")); |