Re: [Samba] mount.cifs doesn't do japanese?

2004-09-22 Thread David Wuertele
Bjoern there has been a false assumption that a UTF-8 presentation of
Bjoern a filename never longer than the UTF-16 presentation of the
Bjoern same name. That's fatal for Japanese filenames. This should be
Bjoern fixed in the cifs version which will come with kernel 2.6.9.

I have to fix this in my linux-2.4.18 embedded system.  Is it
sufficient for me to just fix the conditions under which calls to
cifs_strfromUCS_le() are made?  That function already appears to
return a proper length value, it just isn't being used.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mount.cifs doesn't do japanese?

2004-09-22 Thread David Wuertele
Bjoern there has been a false assumption that a UTF-8 presentation of
Bjoern a filename never longer than the UTF-16 presentation of the
Bjoern same name. That's fatal for Japanese filenames. This should be
Bjoern fixed in the cifs version which will come with kernel 2.6.9.

Is there a fix in patch form?  I would like to back-port it to my
2.4.18 system.  I absolutely do not have the option of changing my
kernel :-(

Speaking of which, is the 2.4 code being maintained anywhere?  The
last revision seems to be from February.

Dave

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mount.cifs doesn't do japanese?

2004-09-14 Thread Bjoern JACKE
On 2004-09-13 at 14:38 -0700 David Wuertele sent off:
On a FC2 system (which includes kernel 2.6.5 and samba-3.0.3), I am
able to use smbmount to mount filesystems with japanese filenames on
them by specifying codepage=cp932.  But when I mount with mount.cifs
the translation from SJIS to UTF-8 isn't done right:
there has been a false assumption that a UTF-8 presentation of a 
filename never longer than the UTF-16 presentation of the same name. 
That's fatal for Japanese filenames. This should be fixed in the cifs 
version which will come with kernel 2.6.9.

Bjoern
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mount.cifs doesn't do japanese?

2004-09-14 Thread David Wuertele
Bjoern there has been a false assumption that a UTF-8 presentation of
Bjoern a filename never longer than the UTF-16 presentation of the
Bjoern same name. That's fatal for Japanese filenames. This should be
Bjoern fixed in the cifs version which will come with kernel 2.6.9.

I have to use linux-2.4.18 in my embedded system.  Any chance I can
get this patch for it?

Thanks,
Dave

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba