diff options
author | Jeremy Allison <jra@samba.org> | 2004-03-15 21:53:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-03-15 21:53:59 +0000 |
commit | 8613940ce69c488dc19fb0c3e434f8801511ec2d (patch) | |
tree | 94b9fb4a15f3a5931465e19e13179ba3c75db923 /source3/nmbd/nmbd_processlogon.c | |
parent | b5805b04da06fe37db70ebba4bfa33d3c3f6a9cb (diff) | |
download | samba-8613940ce69c488dc19fb0c3e434f8801511ec2d.tar.gz samba-8613940ce69c488dc19fb0c3e434f8801511ec2d.tar.bz2 samba-8613940ce69c488dc19fb0c3e434f8801511ec2d.zip |
Use "unix netbios name" type unstring - 64 bytes long to manipulate netbios
names in nmbd. Allows conversion from dos codepage mb strings (ie. SJIS) to
expand to utf8 size on read.
Jeremy.
(This used to be commit b9da3e941d4233c2d3931f32767f3e51b214033e)
Diffstat (limited to 'source3/nmbd/nmbd_processlogon.c')
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index ff2aea6c08..da93224043 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -235,7 +235,7 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", { fstring getdc_str; - nstring source_name; + fstring source_name; char *q = buf + 2; fstring asccomp; @@ -440,7 +440,7 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n", send_mailslot(True, getdc, outbuf,PTR_DIFF(q,outbuf), global_myname(), 0x0, - dgram->source_name.name, + source_name, dgram->source_name.name_type, p->ip, *iface_ip(p->ip), p->port); break; |