Web lists-archives.com

Re: [Samba] Using GPO to mount shares on Linux




Hi,

On 10/11/2017 10:37 AM, Rowland Penny via samba wrote:
The problem is, they don't seem to work any more. They all seem to rely
on mount.cifs and you need to be root to run this. When the user logs
in, the mounting program runs using the users creds and fails.

We are using libpam-mount, and it works perfectly.

To be configured in /etc/security/pam_mount.conf.xml, like

<volume user="*" mountpoint="/home/%(USER)/mount_location" path="share_name" server="smb_server_name" fstype="cifs" options="domain=WRKGRP,sec=ntlmv2i,vers=3.0"/>

Or perhaps you don't mean something like this.

But it's not a GPO, of course.

MJ

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba