I kept on having issues accessing my windows shares and there are so many ways (apparently) that you can do this but this one works for me on multiple computers. BTW, the PCC-> Access windows (SMB) shares did not for for what I needed. I need to have a file share mounted that was readable/writable and that automounts at boot time. I could not do this with PCC.
So first you will need to go the PCC route and find/add your shares that way (its saves your password for your share in a special place not in fstab).
Once that is done open up your ftab file as ROOT and you will see the entries that were created with your windows shares, once you see the one with your shares you need to edit it to look like this:
//42lsvr/Music /mnt/42LSVR/Music cifs sec=ntlmv2,credentials=/etc/samba/auth.42lsvr.tommy,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
I have a windows server named (42lsvr) and it has a (Music) share that I want. It is mounted in my /mnt/42LSVR/Music directory and I have more too! Be sure that you keep your
credentials=/etc/samba/auth.xxx the same but other than that, and the share/share locations it should look like the one above.
Now if you have not tried to mount it yet then open a console and as root type
mount -a. Now your shares are mounted with full access.
Also, to keep this working upon startup i had to edit my
/etc/rc.local file and at the end add
mount -a at the end of it.
Everytime I reboot this works like a charm on every pc I have.
I really hope this helps someone as it too alot of work to find out. (for me) It would be nice if the PCC panel was able to mount across reboots and change file permissions!