Problem creating dirs with non-ASCII characters

Michael Drüing michael at drueing.de
Thu Mar 23 19:43:49 GMT 2006


Hi,
 
today I decided to check out samba4 again. However I'm running into some problems when trying to create directories which contain non-ASCII characters like ä,ö,ü,ß (pretty common here in Germany ;-)

I created two directories "fooäo" and "bar ß baz" from Windows and get the following log entries:

[Thu Mar 23 20:29:10 2006 CET, 0 smbd/server.c:203:binary_smbd_main()]
smbd version 4.0.0tp2-SVN-build-14654 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[Thu Mar 23 20:29:10 2006 CET, 0 smbd/server.c:275:binary_smbd_main()]
smbd: using 'standard' process model
[Thu Mar 23 20:30:13 2006 CET, 0 lib/charset/charcnv.c:178:convert_string()]
E2BIG: convert_string(UTF8,UTF8): srclen=24 destlen=23 - '/export/Software/fooäo'
[Thu Mar 23 20:30:13 2006 CET, 0 ntvfs/posix/pvfs_open.c:102:pvfs_dir_handle_destructor()]
Unable to remove opendb entry for '/export/Software/fooäo' - NT_STATUS_BUFFER_TOO_SMALL
[Thu Mar 23 20:30:24 2006 CET, 0 lib/charset/charcnv.c:178:convert_string()]
E2BIG: convert_string(UTF8,UTF8): srclen=28 destlen=27 - '/export/Software/bar ß baz'
[Thu Mar 23 20:30:24 2006 CET, 0 ntvfs/posix/pvfs_open.c:102:pvfs_dir_handle_destructor()]
Unable to remove opendb entry for '/export/Software/bar ß baz' - NT_STATUS_BUFFER_TOO_SMALL

afterwards, these directories can't be deleted anymore and have to be removed through ssh.

The strange thing is that it works for some non-ASCII names, like "fooäöü" or "fooä" but not for others (like those above). I also tried it with various other european characters like ç or ô, and with various japanese unicode directory names, but it seems they work fine.

--Michael



More information about the samba-technical mailing list