summaryrefslogtreecommitdiff
path: root/source3/libsmb/passchange.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/passchange.c')
-rw-r--r--source3/libsmb/passchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 393383336b..9736adab9f 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -169,7 +169,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
* way.
*/
result = cli_rpc_pipe_open_noauth(
- cli, &ndr_table_samr.syntax_id, &pipe_hnd);
+ cli, &ndr_table_samr, &pipe_hnd);
}
if (!NT_STATUS_IS_OK(result)) {
@@ -230,7 +230,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
result = NT_STATUS_UNSUCCESSFUL;
/* OK, this is ugly, but... try an anonymous pipe. */
- result = cli_rpc_pipe_open_noauth(cli, &ndr_table_samr.syntax_id,
+ result = cli_rpc_pipe_open_noauth(cli, &ndr_table_samr,
&pipe_hnd);
if ( NT_STATUS_IS_OK(result) &&