From: Günther Deschner Date: Mon, 10 May 2010 19:48:10 +0000 (+0200) Subject: s4-smbtorture: fix smbcli_rap_netoemchangepassword. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=36b0fed567bc50324559bd2f72b51913eb4ba5d6;p=abartlet%2Fsamba.git%2F.git s4-smbtorture: fix smbcli_rap_netoemchangepassword. Guenther --- 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);