Monday, 2 September 2013

Package to install :
  • samba
  • samba-common

Steps :
  • Install package : sudo apt-get install samba samba-common
  • Create user : sudo adduser [username]
  • User activation : sudo smbpasswd -a [username]
  • Samba file configuration modif : sudo nano /etc/samba/smb.conf
  • Restart services : sudo restart smbd&&sudo restard nmbd
Note 
change and add smb.conf (sesuai kebutuhan) :
[Global]
#===# Authentification ===#
  • Security = user 
  • ;map to guest = bad user
#=== Share definition ===#
 [name of share/profile_1]
 comment = File server to profile_1
 path = /home/profile_1
 valid users = profile_1
 guest ok = no
 browseable = no
 read only = no
 create mask = 0700
 directory mask = 0700

 [name of share/profile_2]
 comment = File server to profile_2
 path = /home/profile_2
 valid users = profile_2
 guest ok = no
 browseable = no
 read only = no
 create mask = 0700
 directory mask = 0700

0 comments:

Blog Archive

Breaking News

Popular Posts