2
2

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.

samba3.6 最小設置 @ubuntu server 12.04

Last updated at Posted at 2012-12-26

ちょっと共有が必要だったので日経linux 2011年12月号を参考にしながら設定しました

1 前提

virtual box
osインストール時にsamba server とopen ssh serverを選択
バージョン確認

sudo smbd -v

Version 3.6.3

2 /etc/samba/smb.confの編集

[global]に追記

  max protocol = SMB2

コメントアウト

  security = user

追記

  [ユーザ名]
    comment = 
    path = /home/ユーザー名/共有するディレクトリ
    public = no
    writable = yes
    printable = no

文法確認

  testparm -s 

3 sambaユーザーの設定

  sudo pdbedit -a -u ユーザー名

*securty = userを設定しているので実存するunixユーザー名を使う

4 sambaサーバ をリスタート

  sudo service smbd restart
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?