+ -
当前位置:首页 → 问答吧 → suse11 无法启动samba访问windows工作组

suse11 无法启动samba访问windows工作组

时间:2008-06-21

来源:互联网

我在yast里面已经配置好了samba服务器,但是,进入我的电脑-网络文件夹-samba共享 却提示 无法连接到主机smb://smb-network/
这可怎么办?

作者: airtao   发布时间: 2008-06-21

看看firewall

作者: heavenstar_x   发布时间: 2008-06-22

firewall关了

作者: airtao   发布时间: 2008-06-22

我的好像提示是没有SMBCLIENT这个命令

作者: li19099   发布时间: 2008-06-25

我的在文件管理器中输入

smb://对方IP

这样就可以了

作者: kpjack   发布时间: 2008-12-20

linuxsir的主页中有关于SMB的资料.

SMB问题很多,有比较复杂的情况.

作者: linux_pro   发布时间: 2008-12-20

我的只能访问WINXP电脑,反过来XP不能访问我的SUSE11.1

作者: kpjack   发布时间: 2008-12-21

我的可以的,只是我的smb.conf内容:
引用:
[global]
workgroup =
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = yes
# security = domain
[zyke]
comment = zyke
path = /media/disk
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

作者: zyke   发布时间: 2008-12-22

以下是我的SAMBA,请大家帮我看看为什么XP不能访问我的SUSE11。1

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2008-12-03
[global]
workgroup = MSHOME
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
local master = Yes
os level = 65
preferred master = Yes
security = domain
usershare max shares = 100
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
write list = root

作者: kpjack   发布时间: 2008-12-22

你注销:security = domain 这行试试

作者: zyke   发布时间: 2008-12-22

zyke你好,注销:security = domain 这行也不行

如果我完全复制你的samba.conf文件可以吗??只是把你的

[zyke]
comment = zyke

改成我的用户名就可以了吧??

作者: kpjack   发布时间: 2008-12-22

应该可以的,你试试看吧。

作者: zyke   发布时间: 2008-12-22