0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

samba備忘録

0
Posted at

CentOS-7-x86_64-DVD-1511

再起動後も起動

systemctl enable smb nmb

selinuxとfirewall-cmdがブロックする

/etc/selinux/config

SELINUX=permissive

firewall-cmd --permanent --add-service=samba
firewall-cmd --reload

/etc/samba/smb.conf
[global]
        map to guest = bad user //必須
[名前]
        path = /home/samba/public
        writable = yes
        guest only = yes

\{ipaddr}{名前}でwindowsに公開される。
pathのフォルダ名は関係ない

pathまでの親フォルダの実行権限もないと見れない

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?