Setting samba Redhat 9

Ngelanjutin sharing tentang service2 yg ada di Redhat 9, ni ada tambahan service yg bisa dipake di RH9.Yaitu Samba File Sharing, service yg dipake buat sharing data antara OS platform Windows dan Linux.
Untuk konfigurasi lebih detail berikut lampiran contoh settingan file yg hrs di’oprek dikit .
Qt cuma ngedit file smb.conf yg diselipin di directory /etc/samba/ :

[root@inung root]# vi /etc/samba/smb.conf

Isi data konfigurasi dalam file smb.conf :
- – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – -
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = inung
# server string is the equivalent of the NT Description field
server string = inung
hosts allow = 192.168.88. 127. #host yg dpt akses di network 192.168.88.0/24
security = user
password level = 8
username level = 8
interfaces =192.168.88.90/24
local master = yes
domain master = yes
[share]
comment = file_inung
path = /home/inung/
browseable = yes
public = yes
writable = yes
readonly = no
- – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – -

[root@inung root]# adduser inung
//membuat user baru dengan nama inung

[root@inung root]# passwd inung
//membuat password untuk user inung
Changing password for user inung.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

[root@inung root]# smbadduser inung:inung
//membuat user samba dengan nama inung

[root@inung root]# service smb start
// perintah untuk mmenjalankan konfigurasi samba


download

Popular Posts