On Wed, 11 Oct 2017 10:13:35 +0200 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:> If you mean, Linux <=> Linux , use automounting, of dedicated mounts. > Cifs/nfs, depending on you setup and what you need. > >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. Rowland
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
On Wed, 11 Oct 2017 11:11:33 +0200 mj via samba <samba at lists.samba.org> 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