dietpi-software install 96

#to edit shares
nano /etc/samba/smb.conf

#example to paste in the bottom
[www]
        comment = www
        path = /var/www
        browseable = yes
        create mask = 0775
        directory mask = 0775
        valid users = dietpi
        writeable = yes
max connections = 8

#need to restart samba to take effect
service smbd restart

####    DONE samba sould work now   ####

#if you need to change passwords
smbpasswd -a pi