找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 6487|回复: 9

Samba2 显示中文名问题

[复制链接]
发表于 2010-1-31 15:54 | 显示全部楼层 |阅读模式
我用ipkg安装了samba2,make了code page936, 也设置了client code page=936
启动日志没有任何问题,但在WIN中看中文文件名是乱码,请各们帮我看看是什么原因?
workgroup = WORKGROUP
netbios name = router1
server string =File Server
wins support = no
dns proxy = no
name resolve order = lmhosts hosts bcast
log file = /opt/var/log/samba/log.%m
max log size = 1000
syslog = 0
client code page = 936
code page directory=/opt/etc/samba/codepages
security = share
encrypt passwords = true
obey pam restrictions = yes
guest account = nobody
passwd program = /opt/etc/samba/smbpasswd %u
load printers = no

[SambaShare]
comment = /opt/data
path = /opt/data
browseable = yes
public = yes
guest ok = yes
writeable = yes
我的恩山、我的无线 The best wifi forum is right here.
发表于 2010-1-31 18:17 | 显示全部楼层
换samba3
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-2-1 09:35 | 显示全部楼层
samba3 占用内存超大,32m内存怕吃不消
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-2-1 14:28 | 显示全部楼层
配置文件加入下面试下
        display charset = UTF-8
        unix charset = UTF-8
        dos charset = UTF-8
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-2-1 15:55 | 显示全部楼层
直接在win下新建中文文件夹会不会乱码?
你看到的文件夹可能是用UTF-8建立的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-2-1 17:10 | 显示全部楼层
升级到samba3就可以了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2010-2-2 00:05 | 显示全部楼层
Lz用的是openwrt + optware  ?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-2-2 11:29 | 显示全部楼层
配置文件加入下面试下
        display charset = UTF-8
        unix charset = UTF-8
        dos charset = UTF-8
coolbill 发表于 2010-2-1 14:28

这个应该是samba3的配置吧?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-2-2 11:31 | 显示全部楼层
直接在win下新建中文文件夹会不会乱码?
你看到的文件夹可能是用UTF-8建立的
yuzt 发表于 2010-2-1 15:55

自己建的目录自己看不会滥马,但在linux中或是FTP中乱码,反之亦然
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2010-2-2 11:33 | 显示全部楼层
Lz用的是openwrt + optware  ?
ccbcfan 发表于 2010-2-2 00:05

wl500g-1.9.2.7-d-r1087:http://code.google.com/p/wl500g/
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 11:16

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表