diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-08-04 13:42:06 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-08-04 14:38:07 -0400 |
commit | c1eb6230473824f8b64f62139d86383715bebd4c (patch) | |
tree | 39436a6d65592289f42d937ae47e6ca0c557e9f4 | |
parent | ecace49992943536ce794a87352060a9658eb25c (diff) | |
download | sssd_unused-c1eb6230473824f8b64f62139d86383715bebd4c.tar.gz sssd_unused-c1eb6230473824f8b64f62139d86383715bebd4c.tar.xz sssd_unused-c1eb6230473824f8b64f62139d86383715bebd4c.zip |
Fix chpass operations with LDAP provider
The initial verification of the old password was returning an
error because we were not explicitly setting dp_err to
DP_ERR_SUCCESS and it was initialized earlier in the function to
DP_ERR_FATAL.
-rw-r--r-- | src/providers/ldap/ldap_auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_auth.c b/src/providers/ldap/ldap_auth.c index 63719c07..b05e3075 100644 --- a/src/providers/ldap/ldap_auth.c +++ b/src/providers/ldap/ldap_auth.c @@ -865,6 +865,7 @@ static void sdap_auth4chpass_done(struct tevent_req *req) DEBUG(9, ("Initial authentication for change password operation " "successful.\n")); state->pd->pam_status = PAM_SUCCESS; + dp_err = DP_ERR_OK; goto done; } |