diff options
author | Volker Lendecke <vl@samba.org> | 2012-01-06 14:21:37 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2012-01-06 16:33:42 +0100 |
commit | 487c9d3b83ba41e0418ca67490adf9dbb2bcd09d (patch) | |
tree | 0b29eb5a60fae4b4f8a4c1a37e6cd8cb3908bc65 | |
parent | fd69ebda26ab62333202de51d3e392af1978c544 (diff) | |
download | samba-487c9d3b83ba41e0418ca67490adf9dbb2bcd09d.tar.gz samba-487c9d3b83ba41e0418ca67490adf9dbb2bcd09d.tar.bz2 samba-487c9d3b83ba41e0418ca67490adf9dbb2bcd09d.zip |
s3: No value change, just use the correct enum value
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 6 16:33:42 CET 2012 on sn-devel-104
-rw-r--r-- | nsswitch/pam_winbind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index 04977267c9..831fa84462 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -1946,7 +1946,7 @@ static int winbind_chauthtok_request(struct pwb_context *ctx, } params.account_name = user; - params.level = WBC_AUTH_USER_LEVEL_PLAIN; + params.level = WBC_CHANGE_PASSWORD_LEVEL_PLAIN; params.old_password.plaintext = oldpass; params.new_password.plaintext = newpass; params.flags = flags; |