summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-21 18:05:10 +0200
committerGünther Deschner <gd@samba.org>2010-05-21 18:11:04 +0200
commit94d41ddc8f7c97069f0d3c331f65932365c5eb8e (patch)
treebe80abc7c2104bb020b9e683bea487e697ff65c2 /source4
parent032c0515233551bf1d170a8b0a1fe970425d69c5 (diff)
downloadsamba-94d41ddc8f7c97069f0d3c331f65932365c5eb8e.tar.gz
samba-94d41ddc8f7c97069f0d3c331f65932365c5eb8e.tar.bz2
samba-94d41ddc8f7c97069f0d3c331f65932365c5eb8e.zip
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rap/rap.c4
1 files 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);