CVS update: samba/source/lib

jra at samba.org jra at samba.org
Sat Mar 13 02:16:25 GMT 2004


Date:	Sat Mar 13 02:16:25 2004
Author:	jra

Update of /data/cvs/samba/source/lib
In directory dp.samba.org:/tmp/cvs-serv6776/lib

Modified Files:
	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.94 => 1.95
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c.diff?r1=1.94&r2=1.95
util_str.c		1.111 => 1.112
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c.diff?r1=1.111&r2=1.112


More information about the samba-cvs mailing list