summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-10 21:48:10 +0200
committerGünther Deschner <gd@samba.org>2010-05-11 00:58:57 +0200
commit36b0fed567bc50324559bd2f72b51913eb4ba5d6 (patch)
treee8a2dc2f2388b05732849c43b706c6b8f17d08c8 /source4
parentfc6a22983b695e50f5da19000031be64764b32b7 (diff)
downloadsamba-36b0fed567bc50324559bd2f72b51913eb4ba5d6.tar.gz
samba-36b0fed567bc50324559bd2f72b51913eb4ba5d6.tar.bz2
samba-36b0fed567bc50324559bd2f72b51913eb4ba5d6.zip
s4-smbtorture: fix smbcli_rap_netoemchangepassword.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rap/rap.c7
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);