Hi Samba Users, After searching through recent archives, I'd like to pose this question: How does one smbmount a Windows a share with non-ascii letters in the share name? Let's say the target is Windows 2000 Pro Deutsch (German). It has two shares: /data and /d?ta [d,umlaut-a,t,a] From Redhat linux 2.7.4 and 2.4.18 I try to mount these directories. mount -t smbfs -o 'username=Administrator,password=' //192.168.1.1/data /mnt/data works, no problems. However, mount -t smbfs -o 'username=Administrator,password=' //192.168.1.1/d?ta /mnt/data1 always fails with ERRDOS ERRNosuchshare Smbmount versions 2.2.1 and 2.2.5 have the same behavior. I've tried adding iocharset=utf8 and various codepages. Is there any way to encode the 'share' string passed to smbmount? Encoding would very good, as it affords japanese (etc.) characters also. Is there some utf-8 to unicode translation that I'm missing? I noticed smbmount uses strchr() to fetch the resource name. Do I need to trigger a specific locale or something? Any education/help is greatly appreciated. -Michael
Urban Widmark
2002-Aug-12 07:40 UTC
[Samba] How to mount a resource with non ascii chars??
On Fri, 9 Aug 2002, Michael Cuff wrote:> However, mount -t smbfs -o 'username=Administrator,password=' > //192.168.1.1/d?ta /mnt/data1 always fails with ERRDOS ERRNosuchshare > > > Smbmount versions 2.2.1 and 2.2.5 have the same behavior. > I've tried adding iocharset=utf8 and various codepages.The iocharset and codepage options are for smbfs use and not smbmount. Does it help if you add this to your smb.conf: character set = ISO8859-1 client code page = 850 (Yes, it's ugly that there are two settings for this ...) /Urban