linux 下samba 設置好后無法連接問題
如下所示:
samba安裝文件:
[root@phpbb samba]# rpm -qa | grep samba
samba-winbind-clients-3.5.4-68.el6.i686
samba-3.5.4-68.el6.i686
samba-common-3.5.4-68.el6.i686
samba-client-3.5.4-68.el6.i686
samba-winbind-3.5.4-68.el6.i686
samb 配置如下:
[root@phpbb samba]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = Samba Server Version %v
interfaces = lo, eht0, 192.168.1.0/24
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
hosts allow = 127., 192.168.1.
cups options = raw
[public]
comment = public file
path = /var/public
read only = No
guest ok = Yes
[root@phpbb samba]# ll /var
drwxrwxrwx. 2 root root 4096 Apr 20 00:17 public
[root@phpbb samba]# service smb restart
Shutting down SMB services: OK ]
Starting SMB services: OK ]
可是winxp連接后,訪問public文件卻提示 :
\\192.168.1.254\public 無法訪問,您可能沒有權限使用網絡資源。
求解,不知道問題錯在什麽地方?