First I want to thank dmizer for the great guide!
But I'm stuck on some problems by mounting my networkdrive.
I edited the fstab in the following manner:
//192.168.0.195/MyShare /media/myshare cifs user=<user>,passwd=<password>,auto,uid=1000,gid=1000,nounix 0 0
//192.168.0.195/OpenShare /media/openshare cifs auto,uid=1000,gid=1000,nounix 0 0
On my networkdrive they are 2 folders one, the OpenShare, which (I thought) is not protected and the other, MyShare, which is protected by password. But if I want to mount the drive, first I've to deliver a password for the OpenShare and second an error occurs for the MyShare:
mount error(127): Key has expired
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
The funny thing now is that for the OpenShare with the same password as for the MyShare mounts without problems and if I connect by ftp with MyShare all works perfectly, no key expired issue comes up?
If I now add password and user field to OpenShare in fstab, the same error appears as for the MyShare before.
Can somebody help me to get through it? I googled and searched this forum a lot but didn't found a solution. And how can I change a key for my networkdrive? Is there some credential file on it?
Thanks a lot