summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-25 10:35:59 +0200
committerGünther Deschner <gd@samba.org>2008-06-25 23:58:50 +0200
commit059293cbf4553a3b4dbfe78dcadb362ec344ef3b (patch)
tree526fb38d051764fd7704309b516d1485d50f2df0 /source3/libsmb
parent7687a225104bbec47a672da60125af6ff580c817 (diff)
downloadsamba-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/libsmb')
-rw-r--r--source3/libsmb/passchange.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 8f7cbf265e..3b82e5767f 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -177,8 +177,8 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
}
}
- result = rpccli_samr_chgpasswd_user(pipe_hnd, talloc_tos(),
- user_name, new_passwd, old_passwd);
+ result = rpccli_samr_chgpasswd_user2(pipe_hnd, talloc_tos(),
+ user_name, new_passwd, old_passwd);
if (NT_STATUS_IS_OK(result)) {
/* Great - it all worked! */
cli_shutdown(cli);
@@ -207,7 +207,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SAMR, &result);
if ( pipe_hnd &&
- (NT_STATUS_IS_OK(result = rpccli_samr_chgpasswd_user(
+ (NT_STATUS_IS_OK(result = rpccli_samr_chgpasswd_user2(
pipe_hnd, talloc_tos(), user_name,
new_passwd, old_passwd)))) {
/* Great - it all worked! */