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