请教大家:SMABA访问出错,配置如下,谢谢
我的问题是在/etc/samba/smb。conf里面的path=/var/ftp/pub可是在windows客户机通过网上邻居访问时只有打印机共享,请问是什么原因呢?
[网络环境]
windows的ip是192.168.1.2 linux的ip是192.168.1.110
可以ping 通。smb服务已经启动
# ps -aux | grep smb
root 52160.01.0 11176 2676 ? S 21:31 0:00 smbd -D
root 52260.00.24916672 pts/1 S 21:34 0:00 grep smb
#
我的配置如下:
# Global parameters
server string = test
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
read only = No
hosts allow = 192.168.1.2, 127.
browseable = No
comment = All Printers
path = /var/spool/samba
printable = Yes
comment = this is my samba server
path = /var/ftp/pub
create mask = 0664
directory mask = 0777
有几个诊断信息:
# service smb restart
关闭 SMB 服务: [确定]
关闭 NMB 服务: [确定]
启动 SMB 服务: [确定]
启动 NMB 服务: [确定]
# /usr/bin/smbclient -L SMBserver
Connection to SMBserver failed
#
# /usr/bin/nmblookup SMBserver
querying SMBserver on 192.168.1.255
name_query failed to find name SMBserver
# /usr/bin/nmblookup test
querying test on 192.168.1.255
192.168.1.110 test<00>
192.168.1.110 test<00>
#
再次感谢各位指教。
页:
[1]