summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-04-18 11:11:13 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-04-19 14:05:02 -0400
commit5e88215456689003466c471605139cc41c154eb1 (patch)
tree650689c4673256d2ea6df9799844f008c23ed353 /src
parent771127e2d24bbb8f7344840fdfa5936a61209c7e (diff)
downloadsssd-5e88215456689003466c471605139cc41c154eb1.tar.gz
sssd-5e88215456689003466c471605139cc41c154eb1.tar.bz2
sssd-5e88215456689003466c471605139cc41c154eb1.zip
Always generate kpasswdinfo file
Previously, we only generated it when performing a password change, but this didn't play nicely with kpasswd.
Diffstat (limited to 'src')
-rw-r--r--src/providers/krb5/krb5_auth.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index 379a97be..55a06a51 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -523,8 +523,7 @@ static void krb5_resolve_kdc_done(struct tevent_req *subreq)
be_mark_offline(state->be_ctx);
kr->is_offline = true;
} else {
- if (state->pd->cmd == SSS_PAM_CHAUTHTOK &&
- kr->krb5_ctx->kpasswd_service != NULL) {
+ if (kr->krb5_ctx->kpasswd_service != NULL) {
subreq = be_resolve_server_send(state, state->ev, state->be_ctx,
kr->krb5_ctx->kpasswd_service->name);
if (subreq == NULL) {