From 872f00c1956630ae05a8d956e2a6ff9d12659512 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 19 Feb 2010 16:42:50 +0100 Subject: Send Kerberos environment after password change --- src/providers/krb5/krb5_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/krb5') 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")); -- cgit