Menu

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

pam_mount
open
nobody
None
5
2019-05-28
2019-05-28
No

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"></volume>

It does not work:

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

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

This bug was also registered in the Launchpad for the pam_mount packers in Ubuntu. (https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1830117)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB