找回密码
 注册
查看: 1030|回复: 1

求助:为什么我的samba会出现这样的情况??

[复制链接]
发表于 2006-6-6 00:04:40 | 显示全部楼层 |阅读模式
我前几天配置好了samba,昨天还用的好好的,可以自己动了什么,突然出现了这样的问题,不管是smbtree,还是smbclient,都用不到了:
[root@HobbyZeng ~]# smbtree
Server's Role (logon server) conflicts with share-level security
Password:
session request to 192.168.1.31 failed (Call returned zero bytes (EOF))
session request to *SMBSERVER failed (Call returned zero bytes (EOF))
session request to ORBJ7O0LD394TLN failed (Call returned zero bytes (EOF))
session request to *SMBSERVER failed (Call returned zero bytes (EOF))
[root@HobbyZeng ~]# smbclient -L //192.168.1.31/ -U guest%
Server's Role (logon server) conflicts with share-level security
session request to 192.168.1.31 failed (Call returned zero bytes (EOF))
session request to 192 failed (Call returned zero bytes (EOF))
session request to *SMBSERVER failed (Call returned zero bytes (EOF))

在出现问题前后我应该都没有修改配置文件,配置文件如下:
[root@HobbyZeng ~]# testparm
Load smb config files from /etc/samba/smb.conf
Can't find include file /etc/samba/smb.conf.
Processing section "[homes]"
Processing section "[printers]"
Processing section "[share]"
Server's Role (logon server) conflicts with share-level security
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = MSHOME
        netbios name = HOBBYLINUX
        server string = Hobby's Samba Server
        interfaces = 192.168.1.21/255.255.255.0
        security = SHARE
        username map = /etc/samba/smbusers
        log file = /var/log/samba/%m.log
        max log size = 50
        name resolve order = lmhosts bcast
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        domain logons = Yes
        remote browse sync = 192.168.1.255
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        hosts allow = 192.168.1., 127.0.0.1
        hosts deny = ALL
        cups options = raw
        case sensitive = No
        include = /etc/samba/smb.conf.

[homes]
        comment = Home Directories
        read only = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[share]
        comment = hobby's linux
        path = /home/hobby/share
        valid users = nobody
        guest ok = Yes
[root@HobbyZeng ~]#
请问出现这样的情况是因为什么原因?请高手帮帮忙!谢谢!
发表于 2006-6-20 15:48:15 | 显示全部楼层
hosts deny = ALL
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-2-12 15:02 , Processed in 0.037713 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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