Samba server with no password


We will see how to set up a Samba server on Debian with no password and no authentication.



root@host:~# apt-get install samba

Windows share with no authentication

Create a folder share

root@host:~# mkdir /share
root@host:~# chown -R nobody.nogroup /share/
root@host:~# chmod -R 777 /share/


   workgroup = WORKGROUP
   server string = serv01
   security = user
   map to guest = bad user
   browseable = yes
   path = /share
   read only = no
   guest ok = yes
   create mask = 777

Configuration check and Restart services

root@host:~# testparm
root@host:~# systemctl restart smbd; systemctl restart nmbd
Licence Creative Commons
This website is licensed to the public under a licence Creative Commons Attribution licence.
Contact :