samba安装到可以看到局域网内的win2k计算机了,可是中文计算机名和文件夹都乱码

由 tonytop 在 03-28-2004 00:11 发表:

samba安装到可以看到局域网内的win2k计算机了,可是中文计算机名和文件夹都乱码

怎么解决?谢谢。


Linux,Go!

RHEL AS3+WIN XP(基本不用了)

www.redhat.com/docs有很多有用的东西(E文的)


由 focusart 在 03-28-2004 08:41 发表:


client code pages = 936


由 tonytop 在 03-28-2004 12:48 发表:


> quote: > > * * * > > 最初由 focusart 发表
>
> client code pages = 936 > > * * *

把这项写在哪?是smb.conf里吗?

另:是 pages 还是 page ?


Linux,Go!

RHEL AS3+WIN XP(基本不用了)

www.redhat.com/docs有很多有用的东西(E文的)


由 focusart 在 03-28-2004 16:16 发表:


笔误,应该是page

把client code page = 936 添加到smb.conf里。

共享目录shares设置是中文也能正常显示了。

但netbios name就不能使用中文了。

不知道有没有更好的办法解决。


由 tonytop 在 03-28-2004 20:47 发表:


已经把client code page 加到smb.conf里了,还是不行

Global parameters

[global]

client code page=936

workgroup = GHDC

netbios name = LINUX USER

server string = Linux server

security = SHARE

password server = None

guest account = adm

username map = /etc/samba/smbusers

log file = /var/log/samba/%m.log

max log size = 50

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

dns proxy = No

ldap ssl = no

guest ok = Yes


Linux,Go!

RHEL AS3+WIN XP(基本不用了)

www.redhat.com/docs有很多有用的东西(E文的)


由 william0116 在 03-28-2004 21:25 发表:


这个我也困扰了很久,用smbmount 也是不成,我也很想知怎样解决


AMD Athlon 1.2G

640M PC-133 SDRAM

Gefore 2 MX 200 , ATA-66 5400rpm 20GHD

=========================================

Fedora Core 2 (2.6.8.1) + WINDOWS 98 + 2000(SP4)


由 faint 在 03-29-2004 01:25 发表:


在smb.conf 的 global 配置部分加入:

unix charset = gb2312

试试


由 黯然销魂 在 03-29-2004 20:12 发表:


unix charset和 dos charset 我都设置成 cp936 就可以了。


-- Hacking is "an appropriate application of ingenuity.." --

--If Linux doesn't have the solution, you have the wrong problem.--

^^ LFS 511(/w udev) + BLFS CVS ^^

XOrg R681 + KDE 3.3.0


由 alonersir 在 03-29-2004 20:25 发表:

我只能用mount

mount -t smbfs -o iocharset=cp936 //xxx/xxx /mnt/net -U username=xxx


由 viento 在 03-29-2004 20:48 发表:

lll

我的smb.conf是添

unix code = cp936

dos code = cp936

这样用konqueror web浏览器可以看到win机中的中文正常显示。。。

问一个问题,nautilus的设置文件在哪里?

我用nautilus打开网络邻居还是乱码。。。

谁能帮我?谢谢!


由 tonytop 在 03-29-2004 22:28 发表:


> quote: > > * * * > > 最初由 黯然销魂 发表
>
> unix charset和 dos charset 我都设置成 cp936 就可以了。 > > * * *

> quote: > > * * * > > mount -t smbfs -o iocharset=cp936 //xx

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus