First you need to share windows folder for everyone with full access permissions,Than in Linux /etc/fstab file add this line:
1 |
//ws/linuxwww /home/user/windowsshare cifs iocharset=utf8,noserverino,credentials=/home/user/.smbcredentials,uid=500,gid=501,mode=0777,dir_mode=0777 0 0 |