I finishing up some backup code to copy MS-Win shared files over to a Linux
machine. Special characters (trademark,registration, etc.) can be retrieved
from the share with the smbc_getdents call (I can output the special
characters from the holding buffer), but a subsequent request to open that
entry (struct smbc_dirent *)dirp->name fails with error: No such file or
So, how can I, using libsmbclient, open these files?
I'm running Samba 2.2.8a on a 2.4.21 Linux kernel.
I'm no expert Linux developer, so it's possible that I'm doing something
blatantly wrong. However, since I can retrieve and view the file name with
the special symbols, I would have thought that the smbc_open call would also
Thank you all!