LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1072|回复: 11

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

[复制链接]
发表于 2008-6-21 16:29:59 | 显示全部楼层 |阅读模式
我在yast里面已经配置好了samba服务器,但是,进入我的电脑-网络文件夹-samba共享 却提示 无法连接到主机smb://smb-network/
这可怎么办?
发表于 2008-6-21 20:06:09 | 显示全部楼层
看看firewall
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-22 04:21:51 | 显示全部楼层
firewall关了
回复 支持 反对

使用道具 举报

发表于 2008-6-24 21:21:52 | 显示全部楼层
我的好像提示是没有SMBCLIENT这个命令
回复 支持 反对

使用道具 举报

发表于 2008-12-20 16:27:17 | 显示全部楼层
我的在文件管理器中输入   

smb://对方IP  

这样就可以了
回复 支持 反对

使用道具 举报

发表于 2008-12-20 17:09:40 | 显示全部楼层
linuxsir的主页中有关于SMB的资料.

SMB问题很多,有比较复杂的情况.
回复 支持 反对

使用道具 举报

发表于 2008-12-21 16:32:03 | 显示全部楼层
我的只能访问WINXP电脑,反过来XP不能访问我的SUSE11.1
回复 支持 反对

使用道具 举报

发表于 2008-12-21 22:55:14 | 显示全部楼层
我的可以的,只是我的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
回复 支持 反对

使用道具 举报

发表于 2008-12-22 08:49:03 | 显示全部楼层
以下是我的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
回复 支持 反对

使用道具 举报

发表于 2008-12-22 09:00:30 | 显示全部楼层
你注销:security = domain 这行试试
回复 支持 反对

使用道具 举报

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

本版积分规则

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