1. Checking services turned on
Command used:
sudo systemctl status smb sudo systemctl status nmb
2. Checking open ports
Command used:
sudo ss -tuln | grep -E '139|445'
3. List of shares
Command used:
smbclient -L localhost -U brayan
Result: All shared folders are successfully listed
4. Connecting to a share
Command used:
smbclient //localhost/DocumentsEmpresa -U brayan
Result: Successfully connected to the share DocumentsEmpresa.
5. File reading test
Orders within smbclient:
ls get proba.txt
Result: The file was successfully listed and downloaded proba.txt without problems