I got a problem mounting a samba share with
Client OS: Ubuntu 12.10 x64
When I manually mount it access right information (user/group/other) are displayed correctly like they are set on the server, but with pam_mount the options
forcegid are passed aswell, as it seems (from log):
/mnt/user rw,relatime - cifs //x.x.x.x/share rw,vers=1.0,sec=ntlm,cache=loose,unc=\\x.x.x.x\share,username=user,uid=1234,forceuid,gid=1234,forcegid,addr=x.x.x.x,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1
So all folder and files seem to belong to the user although they do not.
drwxr-xr-x 2 user user 0 Mai 14 14:32 testfolder1/ drwxr-x--- 2 user user 0 Mai 3 12:41 testfolder2/
What can I do to control what options PAM mount issues ? Or what can I do to negate forceuid and forcegid ?