I am sharing the list of command that everyone need if you are using smb, I hope this will help you all. if need any help for the same, please comment, I will try to help you to have solution for your problems.
you can write sudo smbstatus
command to see the logs shared folder and status of that as well
Samba version 4.7.6-Ubuntu
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
you can write the command sudo smbtree
to get the tree of root folder and subfolders
WORKGROUP
\\SSHEEL-HP ssheel-HP server (Samba, Ubuntu)
\\SSHEEL-HP\Screenshots
\\SSHEEL-HP\Movie
\\SSHEEL-HP\IPC$ IPC Service (ssheel-HP server (Samba, Ubuntu))
\\SSHEEL-HP\sambashare Network Shared Folder by Samba Server on Ubuntu
\\SSHEEL-HP\print$ Printer Drivers
you can also type sudo smbcontrol
command to get all list of controls that you can use with suffix of that command
if you are getting problem to login so you can also set password for smb to get access of shared folders sudo smbpasswd -a ssheel
ssheel@ssheel-HP:~/Videos$ sudo smbpasswd -a ssheel
New SMB password:
Retype new SMB password:
Added user ssheel.