Web lists-archives.com

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




On Wed, 11 Oct 2017 11:11:33 +0200
mj via samba <samba@xxxxxxxxxxxxxxx> wrote:

> 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
> 

Perhaps I should have mentioned that I am trying to get this to work
with 'sec=krb5', which does work if mounted by root.

Rowland

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