From 94d41ddc8f7c97069f0d3c331f65932365c5eb8e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 21 May 2010 18:05:10 +0200 Subject: s4-smbtorture: fix smbcli_rap_netuserpasswordset2(). Guenther --- source4/torture/rap/rap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index e0c9277869..4468545e37 100644 --- a/source4/torture/rap/rap.c +++ b/source4/torture/rap/rap.c @@ -1602,11 +1602,11 @@ NTSTATUS smbcli_rap_netuserpasswordset2(struct smbcli_tree *tree, rap_cli_push_paramdesc(call, 'b'); rap_cli_push_paramdesc(call, '1'); rap_cli_push_paramdesc(call, '6'); - ndr_push_charset(call->ndr_push_param, NDR_SCALARS, r->in.OldPassword, 16, sizeof(uint8_t), CH_DOS); + ndr_push_array_uint8(call->ndr_push_param, NDR_SCALARS, r->in.OldPassword, 16); rap_cli_push_paramdesc(call, 'b'); rap_cli_push_paramdesc(call, '1'); rap_cli_push_paramdesc(call, '6'); - ndr_push_charset(call->ndr_push_param, NDR_SCALARS, r->in.NewPassword, 16, sizeof(uint8_t), CH_DOS); + ndr_push_array_uint8(call->ndr_push_param, NDR_SCALARS, r->in.NewPassword, 16); rap_cli_push_word(call, r->in.EncryptedPassword); rap_cli_push_word(call, r->in.RealPasswordLength); -- cgit