The following is one version of my fstab line. Since the file server is running MC on Win 10 I use it for all tagging, etc, and don't need write access for the linux machines, so this mounts the share read-only:
//192.168.1.106/Music /home/user/Music cifs auto,user,credentials=/home/user/netlogin 0 0 _netdev
You must have samba and cifs-utils installed.
ip is of share server
Music is server share name
This mounts the folder into the user's Music folder (make sure it exists)
The credential file "netlogin" can be named anything just match name and path to the fstab line.
Format and content of "netlogin" file:
--------------------
username=xx
password=xx
--------------------
The values xx must match server's share login credentials.
I was using _netdev when using a machine with wifi, to wait for network.
In a terminal you can run sudo mount -a to test live without rebooting. Keep the fstab file open in editor, save, test.