Photo by Pixabay on Pexels.com

Make sure you have file share on windows, in my case, shared folder name is ftp and i granted full permission to everyone.

fileserver.learntechfuture.com/ftp

mkdir /mnt/smb/
chmod 744 /mnt/smb/

yum install samba-client samba-common cifs-utils

mount -t cifs //fileserver.learntechfuture.com/fileshare1 /mnt/win --verbose -o vers=2.1,user=sourabh
Password for sourabh@//fileserver.learntechfuture.com/ftp:  *************

mount.cifs kernel mount options: ip=fileserverIP,unc=\\fileserver.learntechfuture.com\fileshare1,vers=2.1,user=sourabh,pass=********

cd /mnt/win/

Thanks for reading.