diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rap/rap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index c056149347..3f03ab3855 100644 --- a/source4/torture/rap/rap.c +++ b/source4/torture/rap/rap.c @@ -1674,11 +1674,10 @@ NTSTATUS smbcli_rap_netoemchangepassword(struct smbcli_tree *tree, rap_cli_push_string(call, r->in.UserName); rap_cli_push_sendbuf(call, 532); - ndr_push_bytes(call->ndr_push_param, r->in.crypt_password, 516); - ndr_push_bytes(call->ndr_push_param, r->in.password_hash, 16); + ndr_push_array_uint8(call->ndr_push_data, NDR_SCALARS, r->in.crypt_password, 516); + ndr_push_array_uint8(call->ndr_push_data, NDR_SCALARS, r->in.password_hash, 16); - rap_cli_expect_format(call, ""); - rap_cli_expect_extra_format(call, "B516B16"); + rap_cli_expect_format(call, "B516B16"); if (DEBUGLEVEL >= 10) { NDR_PRINT_IN_DEBUG(rap_NetOEMChangePassword, r); |