summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-06-25 15:24:18 -0700
committerJeremy Allison <jra@samba.org>2008-06-25 15:24:18 -0700
commit9f71be12504495f92ed495279a977274462738a9 (patch)
tree8b41f84ed920068cf2c898b7f8fde74663fa8d05 /source3/libsmb
parentae16606a90291664c7e43ea9316af3167a2d7642 (diff)
parent7139745b018a3d2304aff24a5baef97ec750256a (diff)
downloadsamba-9f71be12504495f92ed495279a977274462738a9.tar.gz
samba-9f71be12504495f92ed495279a977274462738a9.tar.bz2
samba-9f71be12504495f92ed495279a977274462738a9.zip
Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
(This used to be commit 9075c5f2ada8f96ae8d6cbcfc36663969e9bf34f)
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! */