Comment 0 for bug 1586707

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 04.14 or higher.