Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Cara Mengatur Samba

Cara Mengatur Samba

Hari ini ada request untuk membuat akses sharing menggunakan samba

—-

langsung tunjuk point saja ya,

Setelah menginstall Samba,berikutnya membuat username untuk samba Client nya —

caranya sbb :

1. Pelakukan Penambahan User dan Pembuatan Password Akses
#useradd david

Now create a password for this user using the following command

#smbpasswd -a david

2. Buka Dan Buat Direktori yang akan disharing

#mkdir windowsshare

3. Edit File samba Conf

Joe /etc/samba/smb.conf

[global]
workgroup =
server string = %h server
obey pam restrictions = Yes
passdb backend = tdbsam
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root

[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

[SHARING]
path = /sharing
valid users = admin
admin users = admin
read only = No

[SDM]
comment = Data Khusus SDM
writeable = yes
valid users = demo
admin users = admin
path = /SDM_Data
4. Buka Webmin

Pilih –> Samba Windows File Sharing  –> masuk ke kolom Share Name ( Pilih Folder

yang akan dishare).

5. Pilih Options –> Other Same Options

klik –> Security and Access Control –> klik Valid User  (kemudian pilih user yang

sudah anda Daftarkan)

Filed under: 7. Operating System

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>