Konfigurasi Sistem Linux untuk Jaringan

Konfigurasi Nama Workgroup

Pada langkah di atas, sudah dapat mengubah workgroup sekaligus. Namun selain cara tersebut, juga dapat mengubah dengan menggunakan cara berikut:

Bukalah file smb.conf. File ini sebenarnya adalah file yang berisi konfigurasi-konfigurasi samba. Di dalamnya terdapat pula teks yang menjelaskan workgroup yang bisa diedit.

Berikut ini cara untuk konfigurasi workgroup:

1. Bukalah konsol lalu aktifkan. Buka file /etc/samba/smb.conf menggunakan software editing teks Gedit. Gunakan perintah berikut:

#sudo gedit /etc/samba/smb.conf

2. Selanjutnya, file smb.conf akan terbuka.

3. Carilah isi baris yang mendiskripsikan workgroup, seperti berikut:

#================= Global Settings ===================
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = WORKGROUP
# server string is the equivalent of the NT Description field
server string = %h server (Samba, Ubuntu)
# Windows Internet Name Serving Support Section:

# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast

4. Setelah itu, ganti tulisan WORKGROUP tersebut dengan nama workgroup yang baru.

workgroup = new_domain_or_workgroup

5. Simpan berkas yang telah disunting. Selanjutnya, eksekusi 2 perintah berikut:

#sudo testparm
#sudo /etc/init.d/samba restart
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Leave a comment