INSTALL SAMBA SERVER FEDORA 6


1. Pastikan samba sudah terinstal dengan cara rpm -qa | grep smb
2. Install samba yum install samba-client samba
3. Configurasi yang terlatak di /etc/samba/smb.conf seperti dibawa ini dengan asumsi
# Folder yang bisa di buka oleh siapa saja
# Folder yang hanya bisa dibuka oleh user A
# Folder yang hanya bisa dibuka oleh user B
4. Konfigurasi smb.conf
[global]
workgroup = samba
server string = Server
hosts allow = 192.168. 127.
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[Folder A]
comment = File A
path = /home/A
valid users = didik
browseable = yes
writable = yes
public = no
read only = no

[Folder B]
comment = File ansor
path = /home/B
valid users = ansor
browseable = yes
writable = yes
public = no
read only = no

[PUBLIC]
comment = File Publik
path = /home/public
browseable = yes
writable = yes
public = yes
guest ok = yes
read only = no

;[printers]
;path = /var/spool/samba
;public = yes
;guest ok = yes
;printable = yes
;browseable = yes
;writable = yes
;read only = no
5. Buat foldef dengan cara
# mkdir /home/public
# mkdir /home/A
# mkdir /home/B
6. Kemudian copy kan seluruh Linux User ke User Samba :
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
7. lakukan change permission :
chmod 600 /etc/samba/smbpasswd
8. User yang telah kita copykan ke /etc/samba/smbpasswd blom mempunyai password untuk login pada server samba, untuk create password user,
ketikkan : smbpasswd <USERNAME>
9. Restart samba /etc/inid,d/smb restart
10. Untuk Klien windows tinggal menyamakan settingan workgroupnya dengan settingan pada smb.cof

# Telah dicoba pada fedora 6 dan Klien Win xp2

#dikutip dari http://putrariau.com/?item=samba-for-fedora-core-4&category=linux

~ by kecoakmelet on July 4, 2008.

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

 
%d bloggers like this: