1 From 51aaf9c6812430975dcd2cf9a632eb8d241ec41e Mon Sep 17 00:00:00 2001
2 From: Andrew Bartlett <abartlet@samba.org>
3 Date: Thu, 3 Jun 2010 09:35:31 +1000
4 Subject: [PATCH] s3:schannel client Push the domain and netbios name into the DOS charset
6 If the netbios name is not just ASCII, then we have to get it into the
11 source/rpc_parse/parse_rpc.c | 4 ++--
12 1 files changed, 2 insertions(+), 2 deletions(-)
14 diff --git source/rpc_parse/parse_rpc.c source/rpc_parse/parse_rpc.c
15 index 2d166c7..7b4b8e8 100644
16 --- source/rpc_parse/parse_rpc.c
17 +++ source/rpc_parse/parse_rpc.c
18 @@ -786,8 +786,8 @@ void init_rpc_auth_schannel_neg(RPC_AUTH_SCHANNEL_NEG *neg,
22 - fstrcpy(neg->domain, domain);
23 - fstrcpy(neg->myname, myname);
24 + push_ascii_fstring(neg->domain, domain);
25 + push_ascii_fstring(neg->myname, myname);
28 /*******************************************************************