[Samba] mount.cifs and Umlaut in share name

Andreas Heinlein aheinlein at gmx.com
Tue Nov 23 02:33:31 MST 2010


I need to mount a CIFS share (in the end via fstab, for now manually
from terminal) which has both a space and a german umlaut in its name. I
cannot get mount.cifs to mount it, it always complains it cannot find it.

I managed to get around the space problem in fstab with the \040 trick,
but I cannot find a way to correctly encode the umlaut. When looking at
the output of "mount.cifs --verbose '//server/Täst Freigabe' /mnt", it
looks like it is accessing the correct share, but it does not work.

I also got a hint here
(https://bugs.launchpad.net/ubuntu/+source/gnome-vfs/+bug/414865) to
pipe the share name through iconv, but "mount.cifs $(echo //server/Täst
Freigabe | iconv -t850) /mnt" also does not work.

What can I do? Changing the share name is currently not an option, there
are just too many users with links/bookmarks to it.


More information about the samba mailing list