写真集

Camera:Panasonic LUMIX DMC-LX3
Vine Linux と Ubuntu の設定方法など

Vine Linux 5.1 Windows File Server (samba) を設定します

2010-12-13 16:31:41 | Vine Linux

1 インストールするパッケージ
samba

2 smbusers を追加編集します
/etc/samba/smbusers
--------------------------------------------------------
# Unix_name = SMB_name1 SMB_name2 ...
LinuxLoginUserName = "WindowsLoginUserName"
--------------------------------------------------------

3 smb.conf を編集します
/etc/samba/smb.conf
--------------------------------------------------------
 workgroup = WORKGROUP
 server string = Samba Server Version %v
 username map = /etc/smbusers
 netbios name = Vine 
 interfaces = lo eth0 192.168.0.xxx/24
 hosts allow = 127. 192.168.0.
 security = user
 passdb backend = tdbsam

[homes]
 comment = Home Directories
 browseable = no
 writable = yes

 [win98]
 comment = win98
 path = /media/WINDOWS98
 public = no
 writable = yes
 printable = no
 write list = LinuxLoginUserName

 [win2000]
 comment = win2000
 path = /media/WINDOWS2000
 public = no
 writable = yes
 printable = no
 write list = LinuxLoginUserName

 [winxp]
 comment = winxp
 path = /media/WINDOWSXP
 public = no
 writable = yes
 printable = no
 write list = LinuxLoginUserName

 [windata]
 comment = windata
 path = /media/WINDATA
 public = no
 writable = yes
 printable = no
 write list = LinuxLoginUserName
--------------------------------------------------------



最新の画像もっと見る

コメントを投稿