sharing file dengan samba

edit konfigurasi samba di bawah ini hanya sebagai contoh :d selahkan sesuikan dengan konfigurasi masing masing

root@dede:~# vim /etc/samba/smb.conf
netbios name = dede
server string = ubuntu
workgroup =
announce version = 5.0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

passdb backend = tdbsam
security = share
null password = true
username map = /etc/samba/smbusers
name resolve order = hosts wins lmhosts bcast
wins support = yes

printing = CUPS
printcap = CUPS

syslog = 1
syslog only = yes

comment = All Printers
path = /var/spool/samba
browseable = yes
writable = no
guest ok = no
public = no
printable = yes
share modes = no
locking = no

path = /home/cp/Tutorial
comment = Ini Tutorial
public = yes
writeable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup

  • Restart samba server

root@planetdede:~# /etc/init.d/samba restart


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s