From 36b0fed567bc50324559bd2f72b51913eb4ba5d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 10 May 2010 21:48:10 +0200 Subject: [PATCH] s4-smbtorture: fix smbcli_rap_netoemchangepassword. Guenther --- source4/torture/rap/rap.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index c056149347a..3f03ab38555 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); -- 2.34.1