[Samba] smbmount: mount option "noauto" causes codepage and/or iocharset to fail

Urban Widmark urban at teststation.com
Tue Aug 6 10:05:02 GMT 2002


On Mon, 5 Aug 2002, Eivind Tagseth wrote:

> I've been trying several times now:
> 
> # mount -t smbfs -o credentials=/etc/samba/private/credentials,codepage=cp850,iocharset=iso8859-1,noauto //machine/share\$ /mnt/share
> 
> Causes:
> 
> # ls /mnt/share/directory
> Sp?rsm?l.txt

The reason is that the mount failed first, and then smbmnt retried it
using an older method where it can't send the codepage/iocharset options.

The problem is that noauto is not recognized by smbmount which passes 
anything unknown to smbfs and smbfs doesn't know what this is either and 
complains.

You can define the default nls modules to use for smbfs when configuring
the kernel. That should be enough for you.


There is also some work going on to fix this in a better way, but the
patches are out of date:

http://www.hojdpunkten.ac.se/054/samba/smbconnect/

/Urban





More information about the samba mailing list