Difference between revisions of "Debian: samba"

From OnnoWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
     browseable = yes
 
     browseable = yes
 
     read only = no
 
     read only = no
     guest ok = y[share]
+
     guest ok = yes
 +
 
 +
[share]
 
     path = /home/share
 
     path = /home/share
 
     browseable = yes
 
     browseable = yes
Line 23: Line 25:
 
     guest ok = yes
 
     guest ok = yes
 
     valid users = onno,derry,reza
 
     valid users = onno,derry,reza
 
  
 
[share1]
 
[share1]

Revision as of 18:25, 26 February 2022

Install

apt -y install samba


Enable saat start

systemctl enable smbd


Edit /etc/samba/smb.conf


[share]
    path = /home/share
    browseable = yes
    read only = no
    guest ok = yes
[share]
    path = /home/share
    browseable = yes
    read only = no
    guest ok = yes
    valid users = onno,derry,reza

[share1]

    path = /home/share1
    browseable = yes
    read only = no
    guest ok = yes
    valid users = onno,derry,reza