[Samba] mount.cifs and Umlaut in share name

Jeff Layton jlayton at samba.org
Mon Nov 29 04:46:13 MST 2010


On Tue, 23 Nov 2010 08:39:56 -0500
Jeff Layton <jlayton at samba.org> wrote:

> On Tue, 23 Nov 2010 10:33:31 +0100
> Andreas Heinlein <aheinlein at gmx.com> wrote:
> 
> > Hello,
> > 
> > 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.
> > 
> > Thanks,
> > Andreas
> 
> Seems like something we ought to be able to fix. Could you open a bug
> at bugzilla.samba.org, cc me on it, and then post the output of
> "mount.cifs --verbose '//server/Täst Freigabe' /mnt" to it?
> 
> Thanks,

Following up here in case others see this problem...

Andreas opened bug 7822:

    https://bugzilla.samba.org/show_bug.cgi?id=7822

The problem seems to be related to the default NLS codepage setting in
Ubuntu's kernel.

-- 
Jeff Layton <jlayton at samba.org>


More information about the samba mailing list