entirely uninstall samba code example
Example: how to remove samba ubuntu
sudo apt-get autoremove --purge samba
sudo apt-get remove samba
sudo apt-get autoremove samba
sudo apt-get autoremove --purge samba
sudo apt-get remove samba
sudo apt-get autoremove samba