[Samba] Using GPO to mount shares on Linux

mj lists at merit.unu.edu
Wed Oct 11 11:24:56 UTC 2017

On 10/11/2017 12:43 PM, Rowland Penny via samba wrote:
> I want to mount a users folder on one machine into the users folder on
> another machine.
> i.e. mount \\dc1\users\rowland on client /home/rowland/mnt
That sounds similar to our use case.

> Sods law has kicked in, I have now got a mount to work with pam_mount,
> but there is a major problem, anything created in the share doesn't
> belong to rowland, it is 3000000:domain users. This is not acceptable,
> the mounted share belongs to rowland, but nothing inside it does. I
> think I will continue to try and get pam_script to do what I want.

So what does a mount look like?


> root at dmmember:~# mount | grep username
> //fileserver.company.com/username on /home/username/username type cifs (rw,relatime,sec=ntlmi,unc=\\filehost.company.com\username,username=username,domain=WRKGRP,uid=49611,forceuid,gid=513,forcegid,addr=,unix,posixpaths,serverino,acl,rsize=61440,wsize=65536,actimeo=1)
> root at dmmember:~# 


More information about the samba mailing list