LoginSignup
9
16

More than 5 years have passed since last update.

Raspberry Pi で Samba

Last updated at Posted at 2016-04-28

Sambaの設定

以下のサイトを参考に実施

IT女子のラズベリーパイ入門奮闘記

Sambaのインストール

$ sudo apt-get install samba
$ smbd -V
Version 4.1.17-Debian

設定変更

smb.conf をバックアップ

$ sudo cp -p /etc/samba/smb.conf /etc/samba/smb.conf.org

smb.conf を編集
[netlogon] の項目のコメントを外す

/etc/samba/smb.conf
# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
[netlogon]
   comment = Network Logon Service
   path = /home/pi/nas_all
   guest ok = yes
   read only = yes

Samba の再起動

$ sudo service smbd restart
$ sudo service nmbd restart

Windows から[netlogon]フォルダが見えた!

9
16
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
9
16