summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-03 17:22:04 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-03 12:33:36 -0600
commit6f79af9d13cb400506e05f20fb68c7f97daccf38 (patch)
tree97855c54cc65fc5af21c210f43aeb6d773886e94 /source4/libcli/auth
parent425732f688865ebe2bfe568c8278edec50cbdedf (diff)
downloadsamba-6f79af9d13cb400506e05f20fb68c7f97daccf38.tar.gz
samba-6f79af9d13cb400506e05f20fb68c7f97daccf38.tar.bz2
samba-6f79af9d13cb400506e05f20fb68c7f97daccf38.zip
r26652: msrpc_parse/msrpc_gen: Add iconv_convenience argument.
(This used to be commit e886f1bc0dc694971979716d1991535c7d2e08de)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/smbencrypt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c
index 26b78d25ef..4ccf568d8c 100644
--- a/source4/libcli/auth/smbencrypt.c
+++ b/source4/libcli/auth/smbencrypt.c
@@ -299,7 +299,8 @@ DATA_BLOB NTLMv2_generate_names_blob(TALLOC_CTX *mem_ctx,
{
DATA_BLOB names_blob = data_blob_talloc(mem_ctx, NULL, 0);
- msrpc_gen(mem_ctx, &names_blob, "aaa",
+ msrpc_gen(mem_ctx, lp_iconv_convenience(global_loadparm), &names_blob,
+ "aaa",
NTLMSSP_NAME_TYPE_DOMAIN, domain,
NTLMSSP_NAME_TYPE_SERVER, hostname,
0, "");
@@ -321,7 +322,7 @@ static DATA_BLOB NTLMv2_generate_client_data(TALLOC_CTX *mem_ctx, const DATA_BLO
/* See http://www.ubiqx.org/cifs/SMB.html#SMB.8.5 */
- msrpc_gen(mem_ctx, &response, "ddbbdb",
+ msrpc_gen(mem_ctx, NULL, &response, "ddbbdb",
0x00000101, /* Header */
0, /* 'Reserved' */
long_date, 8, /* Timestamp */