Public bug reported:

The pam_mount module does not mount the volumes that contain defined
control attributes (user, pgrp, sgrp, uid, and gid).

I believe that it simply ignores all volume tags that contain this
control, because even with debug enable ="1" nothing is registered in
syslog. Only volumes that are defined without any type of control
attribute work and produce information in the log.

Example:

It works:

 <volume fstype="cifs" server="FILESERVER" path="SHARE$"
mountpoint="~/SHARE" options="gid=MYGROUP,file_mode=0770,dir_mode=0770"
/>

It does not work:

 <volume sgrp="MYGROUP" fstype="cifs" server="FILESERVER" path="SHARE$"
mountpoint="~/SHARE" options="gid=MYGROUP,file_mode=0770,dir_mode=0770"
/>

It has been tested in the following environments:

* Ubuntu 18.04.2 LTS
* libpam-mount 2.16-3ubuntu0.1

* Ubuntu 19.04
* libpam-mount:amd64 2.16-9ubuntu2

** Affects: libpam-mount (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830229

Title:
  pam_mount does not mount the volumes that contain defined control
  attributes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1830229/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to