Mount a Windows share folder in CentOS 7

Windows steps

  1. Create a shared folder in windows
  2. Make it shareable with Full Access to Everyone
  3. Create a windows user just for the shared folder
  4. Change the security policy of the folder and add the new user with Full Control to that folder

Linux steps

mount.cifs \\\\<windpws_ip_address>\\<shared_folder> /<shared_path> -o user=<windows_user>,pass=<windows_user_pass>,vers=2.0,uid=1000,gid=1000