Samba Server di IGN 9.0 Tanpa Password

Setelah kemarin sukses instal Apache MariaDB dan PHP+phpmyadmin di IGN 9.0, kali ini saya akan mainan samba server di IGN 9.0. Walaupun artikel di internet sangat banyak tapi tak ada salahnya mengetik ulang di blog untuk dokumentasi pribadi ūüėÄ

1. Instal samba server

#  yum install samba samba-client

catatan : karena di IGN 9.0 Mate besar sudah terinstal maka langkah ini diabaikan.

2. Konfigurasi smb.conf

#  cp -f /etc/samba/smb.conf /etc/samba/smb.conf.old

#  pluma /etc/samba/smb.conf

edit (kira-kira) pada baris :

#  baris 66 tambahkan

unix charset = UTF-8

dos charset = CP932

# baris 90, ubah Windows defaultnya

workgroup = WORKGROUP

# baris 98, hilangkan tanda ;

max protocol = SMB2

# baris 96, hilangkan tanda ; dan ganti dengan IP address yang diijinkan

hosts allow = 127. 10.10.20. (contoh)

# baris 125, tambahkan setelah “security = user”

security = user

map to guest = Bad User

# folder yang akan disharing

[Berbagi]

path = /home/igos/share

writable = yes

guest ok = yes

guest only = yes

create mode = 0777

directory mode = 0777

share modes = yes

lalu simpan, jika ingin Read Only maka ganti saja permission file pada [Berbagi] dengan 0755.

3. Restart service smb dan nmb

#  systemctl start smb.service

#  systemctl start nmb.service

#  systemctl enable smb.service

#  systemctl enable nmb.service

4. Test di PC Windows XP
samba server IGN

Referensi :
Server World.info

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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