diff options
author | Günther Deschner <gd@samba.org> | 2008-06-25 10:35:59 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-06-25 23:58:50 +0200 |
commit | 059293cbf4553a3b4dbfe78dcadb362ec344ef3b (patch) | |
tree | 526fb38d051764fd7704309b516d1485d50f2df0 /source3/winbindd | |
parent | 7687a225104bbec47a672da60125af6ff580c817 (diff) | |
download | samba-059293cbf4553a3b4dbfe78dcadb362ec344ef3b.tar.gz samba-059293cbf4553a3b4dbfe78dcadb362ec344ef3b.tar.bz2 samba-059293cbf4553a3b4dbfe78dcadb362ec344ef3b.zip |
rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.
Guenther
(This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index f548a04d35..40bd869433 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -2093,15 +2093,15 @@ enum winbindd_result winbindd_dual_pam_chauthtok(struct winbindd_domain *contact got_info = True; } - /* only fallback when the chgpasswd3 call is not supported */ + /* only fallback when the chgpasswd_user3 call is not supported */ if ((NT_STATUS_EQUAL(result, NT_STATUS(DCERPC_FAULT_OP_RNG_ERROR))) || (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_user\n", + DEBUG(10,("Password change with chgpasswd3 failed with: %s, retrying chgpasswd_user2\n", nt_errstr(result))); - result = rpccli_samr_chgpasswd_user(cli, state->mem_ctx, user, newpass, oldpass); + result = rpccli_samr_chgpasswd_user2(cli, state->mem_ctx, user, newpass, oldpass); /* Windows 2000 returns NT_STATUS_ACCOUNT_RESTRICTION. Map to the same status code as Windows 2003. */ |