Samba adalah protokol untuk menjembatani sharing direktori dengan sistem operasi Windows. Berikut adalah langkah sederhana yang akan dilakukan.

Langkah 1 : buatlah file smb.conf

# nano /etc/samba/smb.conf
[Global]
workgroup = darknet
server string = Samba Server
netbios name = darkstar
security = user
map to guest = bad user
dns proxy = no

[allusers]
        comment = All Users
        path = /home/shares/allusers/
        valid users = @users
        force group = users
        create mask = 0660
        directory mask = 0771
     	writable = yes

#[homes]
#       comment =  home directory
#       browsable = no
#       valid users = %S
#       writable = yes
#       create mask = 0700
#       directory mask = 0700

[anonymous]
	path = /home/shares/anonymous
        force group = users
        create mask = 0660
        directory mask = 0771
        browsable = yes
        writable = yes
        guest ok = yes

[movie]
       	comment = All Users
        path = /home/mlv/movie
        valid users = @users
        force group = users
        create mask = 0660
        directory mask = 0771
        writable = no

[appwin]
        comment = All Users
        path = /home/mlv/packet/appwin
        valid users = @users
        force group = users
        create mask = 0660
        directory mask = 0771
        writable = no

[iso]
     	comment = All Users
        path = /home/mlv/iso
        valid users = @users
        force group = users
        create mask = 0660
        directory mask = 0771
        writable = no