pam_mount does not mount the volumes that contain defined control attributes

Bug #1830229 reported by Eduardo Santos de Moraes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libpam-mount (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.