[Bug 1586707] Re: Failure mounting cifs volumes pam_mount
Aleksi
aleksi.vartiainen at live.fi
Fri Jun 3 13:55:53 UTC 2016
I confirm that this bug occurs on Ubuntu 16.04 as well. A workaround is
to omit the "sgrp" attribute which sometimes causes a 10-second hang per
mount for local users (with no permission for volume) when logging in.
With 10 volumes to mount... yikes!
My configuration:
<volume user="*" sgrp="residents" fstype="cifs"
server="domain.example.com" path="data/users/%(USER)/documents"
mountpoint="~/Documents"
options="uid=%(USER),gid=100,dir_mode=0700,file_mode=0700,nounix,iocharset=utf8,rw,sec=ntlmsspi"
/>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1586707
Title:
Failure mounting cifs volumes pam_mount
Status in samba package in Ubuntu:
Confirmed
Bug description:
Since version " 2: 4.3.8 + dfsg - 0ubuntu0.14.04.2 " current " 2:
4.3.9 + dfsg - 0ubuntu1 " that cifs volumes with " SGRP " attribute in
pam_mount are not mounted .
In fact the volume is only mounted when the volume access permission
group is the primary group that is logged in, otherwise the volume is
not mounted.
For example:
<volume sgrp="administrators" fstype="cifs" server="Fileserver"
path="share" mountpoint="/home/%(user)/share" />
If the share has only limited access to " administrators " and the
user's primary group for this , so the volume is mounted . But even if
the user belongs to the Administrators group , just not being the
primary user group ( in Active Directory usually the primary group by
default is " Domain Users " ) , the same share is not mounted.
Distros : Ubuntu 14.04 or higher.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1586707/+subscriptions
More information about the foundations-bugs
mailing list