|
楼主 |
发表于 2007-3-29 10:14:37
|
显示全部楼层
终于发现原因,原来samba共享的是本地硬盘的NTFS分区,mount的时候没有指定相同的nls所以,samba共享出去2000访问就是乱码x现在改成下面设置,全部OK!linux windows2000能正常双方共享
locale
LANG=en_US
LC_CTYPE="zh_CN.utf8"
LC_NUMERIC="zh_CN.utf8"
LC_TIME="zh_CN.utf8"
LC_COLLATE="zh_CN.utf8"
LC_MONETARY="zh_CN.utf8"
LC_MESSAGES="zh_CN.utf8"
LC_PAPER="zh_CN.utf8"
LC_NAME="zh_CN.utf8"
LC_ADDRESS="zh_CN.utf8"
LC_TELEPHONE="zh_CN.utf8"
LC_MEASUREMENT="zh_CN.utf8"
LC_IDENTIFICATION="zh_CN.utf8"
LC_ALL=zh_CN.utf8
cat /etc/fstab
.
.
/dev/hda1 /mnt/hd/C ntfs umask=0,nls=utf8 0 0
/dev/hda5 /mnt/hd/D ntfs umask=0,nls=utf8 0 0
smb.conf 中 Global Setting
display charset = cp936
dos charset = cp936
unix charset = utf8 |
|