|
[root@studio01 ~]# cat /etc/samba/smb.conf
[global]
workgroup = seakingmovies
server string = linux share
netbios name = redhat01
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
log file = /var/log/samba/%m.log
max log size = 50
security = share
passdb backend = tdbsam
; load printers = yes
; cups options = raw
; encrypt passwords = yes
; guest ok = yes
; guest account = root
; printcap name = /etc/printcap
; printcap name = lpstat
; printing = cups
[share]
path = /root/share
writeable = yes
browseable = yes
guest ok = yes
能够看到共享的文件夹share,点击时直接提示没有权限访问 |
|