CVS update: samba/source/lib
jra at samba.org
jra at samba.org
Sat Mar 13 02:16:20 GMT 2004
Date: Sat Mar 13 02:16:20 2004
Author: jra
Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv7493/lib
Modified Files:
Tag: SAMBA_3_0
charcnv.c util_str.c
Log Message:
Modified fix for bugid #784. Based on a patch from moriyama at miraclelinux.com (MORIYAMA Masayuki).
Don't use nstrings to hold workgroup and netbios names. The problem with them is that MB netbios
and workgroup names in unix charset (particularly utf8) may be up to 3x bigger than the name
when represented in dos charset (ie. cp932). So go back to using fstrings for these but
translate into nstrings (ie. 16 byte length values) for transport on the wire.
Jeremy.
Revisions:
charcnv.c 1.55.2.53 => 1.55.2.54
http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.55.2.53&r2=1.55.2.54
util_str.c 1.47.2.58 => 1.47.2.59
http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c.diff?r1=1.47.2.58&r2=1.47.2.59
More information about the samba-cvs
mailing list