[Samba] Using GPO to mount shares on Linux
rpenny at samba.org
Wed Oct 11 09:46:23 UTC 2017
On Wed, 11 Oct 2017 11:11:33 +0200
mj via samba <samba at lists.samba.org> wrote:
> 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.
Perhaps I should have mentioned that I am trying to get this to work
with 'sec=krb5', which does work if mounted by root.
More information about the samba