summaryrefslogtreecommitdiffstats
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-01-06 14:21:37 +0100
committerVolker Lendecke <vlendec@samba.org>2012-01-06 16:33:42 +0100
commit487c9d3b83ba41e0418ca67490adf9dbb2bcd09d (patch)
tree0b29eb5a60fae4b4f8a4c1a37e6cd8cb3908bc65 /nsswitch
parentfd69ebda26ab62333202de51d3e392af1978c544 (diff)
downloadsamba-487c9d3b83ba41e0418ca67490adf9dbb2bcd09d.tar.gz
samba-487c9d3b83ba41e0418ca67490adf9dbb2bcd09d.tar.xz
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
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/pam_winbind.c2
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;