ubuntu 8.04 でホームディレクトリをsamba共有する

sambaインストール

sudo apt-get install samba

設定ファイル書き換え(書き換え部分、追加部分のみ)

#/etc/samba/smb.conf
[global]
   security = user
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   create mask = 0644
   directory mask = 0755

ユーザー追加

smbpasswd -a username
#type passwd
#retype passwd

samba再起動

/etc/init.d/samba restart