You are not logged in.
Hi all,
I am attempting to configure pam_mount with cifs to have access to windows shares upon logging in. In dmesg, I get this error:
CIFS VFS: cifs_mount failed w/return code = -6
Here is my pam_mount.config.xml
<volume user="walterjwhite" fstype="cifs" server="mercury" path="//mercury/folder" mountpoint="/mercury-hostname/folder" options="credentials=/home/walterjwhite/.windows-share,ip=10.3.56.93"/>
Walter
Last edited by walterjwhite (2011-06-08 01:38:15)
Offline
I'm assuming you've setup pam to load the pam_mount.so module at the appropriate time.
Try changing your path to "folder" rather than "//mercury/folder". (error code 6 is "No such share")
This parameter in your config file should give more information.
<debug enable="2" />
Offline
Hi,
Thanks. I will try that debug, I tried debug=1, but I'll give that a try.
Walter
Offline
Hi Premier,
I got it working, thanks for your help. I specified the path incorrectly on the server. Once I set it relative to root, everything worked.
Walter
Offline