呵呵,我这里也可以用cifs来挂载,只是参数不同: mount -t cifs //sambaserver/共享1 /mnt/smb/ -o username=xxxx,iocharset=utf8
用cifs应该比smbfs要好一些。 On 1/10/07, XiaoLong Cai <[EMAIL PROTECTED]> wrote:
朋友,首先很感谢你的帮助! 事情是这样子的,我有两台计算机,一台XP系统,另一台主是Redhat linux系统,我在linux下的X-windows窗口,想访问XP 系统的网络共享文件夹share。 用命令mount �Ct smbfs �Co codepage=cp936,iocharset=utf8,username=administrator,password=123456 //XP/share /mnt/winxp映射击过来的文件夹不能显示中文 我linux当前的语言环境是:LANG=zh_CN.UTF-8 问题已解决了,方法是用这个命令 mount �Ct cifs �Co username=administrator,password=123456 //XP/share /mnt/winxp ------------------------------ *From:* nok [mailto:[EMAIL PROTECTED] *Sent:* 2007年1月9日 18:50 *To:* XiaoLong Cai *Cc:* Debian Chinese [GB] *Subject:* Re: mount.smbfs怎么才能显示中文文件名? 您没有提供具体使用环境,我这里的环境已经是客户端zh_CN.utf8,服务器端samba XXX。 然后客户端使用下面的配置: 1. /etc/samba/smbd.conf [global] dos charset = CP936 unix charset = UTF8 display charset = UTF8 2. /etc/fstab中自动mount samba文件服务器的条目: //172.16.100.34/项目管理交流 /mnt/pwork-share smbfs username= lan.yufeng,codepage=cp936,iocharset=utf8,fmask=0777 0 0 以上不折行,参数的含义可参看man手册,就可以了。 可以用 smbclient -L <文件服务器ip> -U <文件服务器帐号> 来测试你能否成功连接服务器。goot luck. On 1/9/07, *XiaoLong Cai* <[EMAIL PROTECTED]> wrote: 朋友你好,我现在也被这个问题所困扰不知道你有没有找到解决的方法,如有烦请告知。谢谢。 蔡小龙 2006. 1.9 Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message