顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


主題 - joeyliu89875618

頁: [1]
1
各位大大好!

環境是
CENTOS 7.4
SANBA 4.6.2
設定如下:
[global]

workgroup = workgroup

server string = Backup Data

netbios name = bbweb

hosts allow = 192.168.1.

log file = /var/log/samba/%m.log

max log size = 0

security = user

dos charset = CP950

unix charset = utf8

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

interfaces = 192.168.1.0/24
os level      = 100
dns proxy = no
use sendfile = yes
load printers = no
veto files = /*.eml/*.nws/Riched20.dll/*.ccc/*.vvv/*.CCC/*.VVV/*.wncry/*.WNCRY/
#============================ Share Definitions ==============================
[bbfiles]
   comment = Share Files
   path = /samba
   public = yes
   browseable = yes
   writable = yes
   admin users =  web-7 web-8
   create mask = 0665
   directory mask = 0775
自行檢測看來都有埠都有通

[root@107bbholos /]# nmap 127.0.0.1
Starting Nmap 6.40 ( http://nmap.org ) at 2018-03-13 09:50 CST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000013s latency).
Not shown: 993 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
3306/tcp  open  mysql
10000/tcp open  snet-sensor-mgmt

Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds

可存取刪除個別檔案,就是不能開目錄或拷貝整個目錄到SAMBA的分享目錄內.
但關閉SElinux就可以

還請指導

Joey

頁: [1]