Menambahkan Autentikasi di Samba Server

Kalau artikel sebelumnya (http://alfach.com/2010/01/07/membuat-simple-anonymous-samba-file-server-untuk-windows/) itu masih berupa anonymous, maka ini lanjutannya bagi yang ingin menambahkan autentikasi pada user. Berikut ini isi file smb.conf nya :

[global]

workgroup = workgroup

netbios name = alfach

server string = lan file server

security = user

encrypt passwords = yes

browseable = yes

hosts allow = 192.168.1.

[share1]

path = /sharing

comment = testfiles

read only = No

Lalu simpan, setelah itu, kita buat user dan password nya dengan menjalankan :

# smbpasswd -a fachrie

New SMB password:

Retype new SMB password:

Added user fachrie.

done





Calendar

May 2012
M T W T F S S
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 1 2 3

Category Key

  • General

© alfach.com 2012 - Feel free to leave your comment