[linux-cifs-client] trouble accessing files named with accented characters

Steven French sfrench at us.ibm.com
Fri Aug 20 23:25:23 GMT 2004






Four important questions -

Is the server Unicode capable (e.g. Windows 2000 or later, Samba 3 or
later)?

Are you trying to stat/open from a process with a different default code
page than was the default on the process on the client that mounted the
share (note that this can be overridden at mount time via specifying
iocharset on the mount line if they were different)?

Is there an NLS module for your codepage loaded on the client (it should
happen automatically)?

Can you create any file/directory etc. from your client to the server with
those characters (is the info getting lost in the mapping on the server) -
and can you see the file on the server side?


If you can use ethereal network analyzer you can probably display whether
the Unicode path name looks ok on the wire for the open smb.   To most
servers (those which support Unicode) the cifs vfs will send pathnames
translated from your client code page to Unicode.    If the server is samba
it is probably possible to disable Unicode on the server (in smb.conf,
although I am not certain if it is possible) to see if it works with
Unicode turned off.


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list