summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-25 21:49:57 +0200
committerGünther Deschner <gd@samba.org>2008-06-25 23:58:50 +0200
commit14d500c0e7e4261fa8d9dbc12e14d79a424059c3 (patch)
tree005ad5bc059d01ca553cfa468157d5e62dfa2392 /source3/winbindd
parent059293cbf4553a3b4dbfe78dcadb362ec344ef3b (diff)
downloadsamba-14d500c0e7e4261fa8d9dbc12e14d79a424059c3.tar.gz
samba-14d500c0e7e4261fa8d9dbc12e14d79a424059c3.tar.bz2
samba-14d500c0e7e4261fa8d9dbc12e14d79a424059c3.zip
rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.
Guenther (This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_pam.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 40bd869433..f7001f7716 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -2066,12 +2066,12 @@ enum winbindd_result winbindd_dual_pam_chauthtok(struct winbindd_domain *contact
goto done;
}
- result = rpccli_samr_chgpasswd3(cli, state->mem_ctx,
- user,
- newpass,
- oldpass,
- &info,
- &reject);
+ result = rpccli_samr_chgpasswd_user3(cli, state->mem_ctx,
+ user,
+ newpass,
+ oldpass,
+ &info,
+ &reject);
/* Windows 2003 returns NT_STATUS_PASSWORD_RESTRICTION */
@@ -2098,7 +2098,7 @@ enum winbindd_result winbindd_dual_pam_chauthtok(struct winbindd_domain *contact
(NT_STATUS_EQUAL(result, NT_STATUS_NOT_SUPPORTED)) ||
(NT_STATUS_EQUAL(result, NT_STATUS_NOT_IMPLEMENTED))) {
- DEBUG(10,("Password change with chgpasswd3 failed with: %s, retrying chgpasswd_user2\n",
+ DEBUG(10,("Password change with chgpasswd_user3 failed with: %s, retrying chgpasswd_user2\n",
nt_errstr(result)));
result = rpccli_samr_chgpasswd_user2(cli, state->mem_ctx, user, newpass, oldpass);