Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2006 14:36:47 +0800
From:      =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= <weiwu@sdf.lonestar.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: (repost) cannot read windows share
Message-ID:  <1165300607.5417.45.camel@joe.realss.com>
In-Reply-To: <200612041946.15303.lane@joeandlane.com>
References:  <1165282478.5417.6.camel@joe.realss.com> <200612041946.15303.lane@joeandlane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
在 2006-12-04一的 19:46 -0600,Lane写道:

> weiwu,
> 
> One thing comes to mind:  Try your question here:
...
> Your question is specific to samba, and probably not related to 
> FreeBSD-specific issues.

My question is DIRECTLY freebsd-related because:
     I. samba itself don't have this problem (tried on SuSE, Debian and
        Gentoo). "mount -t cifs" on Linux works fine.
    II. mount_smbfs is a freebsd native tool
   III. charset conversion options of samba (iocharset and codepage) do
        not work for mount_smbfs because mount_smbfs do not have these
        options;
    IV. mount_smbfs's charset option (-E) do not work for samba because
        samba don't have this option
     V. samba's charset conversation is not using kernel module,
        freebsd's mount_smbfs use kernel libiconv.ko module for
        conversion;
    VI. I tried to install samba from ports, and end up having samba
        installed WITHOUT 'smbmount' command-line utility, it seems this
        command is carefully removed for FreeBSD's port, forcing people
        to use FreeBSD's mount_samba

Other strange thing:

I changed my locale to GB18030 and now I can list the Chinese
directories, but if I enter a Chinese directory then the application who
tries to enter the directory (e.g. ls) hangs. So it is strange for
me ... to understand.

> 
> lane
> P.S.  I note that the hosts in the links above are mostly "us1."  That's 
> probably something to do with the language specification on my system, but 
> may be different for you.  Check out www.samba.org for better links.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1165300607.5417.45.camel>