Sharing resources dengan Samba pada Ubuntu 12.04
#======================= Global Settings =======================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of workgroup = SMKSAKTI
# server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) |
####### Authentication #######
"security = share " is always a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html # in the samba-doc package for details. security = share
# You may wish to use password encryption. See the section on # 'encrypt passwords' in the smb.conf(5) manpage before enabling. encrypt passwords = true
|
#======================= Share Definitions =======================
# Un-comment the following (and tweak the other settings below to suit) # to enable the default home directory shares. This will share each # user's home director as \\server\username ;[homes] ; comment = Home Directories ; browseable = no
# By default, the home directories are exported read-only. Change the
|
path =/home/era/sharing_dataera
comment =sharing data era
writeable = yes
browseable = yes
public = yes
guest ok = yes
directory mode = 0777
create mode = 0777
~Sesuaikan nama user lokasi direktori sharing pada computer nada
keterangan :
[sharing_dataera] Ã nama folder sharing yang akan ditampilkan di komputer yang mengakses
path =/home/era/sharing_dataera à Letak direktori file yang akan disharing
comment =sharing data era à Baris komentar tentang sharing
writeable = yes à User dapat menyimpan dan merubah data
browseable = yes à User dapat melihat folder yang disharing
public = yes à File sharing bisa diakses dari jaringan
guest ok = yes à User guest dapat menyimpan/menulis data
directory mode = 0777 Ã Permisiion untuk mengatur user yang dapat mengakses data pada folder yang akan dishare
create mode = 0777 Ã Menentukan permission untuk semua folder yang dibuat oleh user didalam folder share samba