[Samba] Using GPO to mount shares on Linux

Rowland Penny rpenny at samba.org
Wed Oct 11 10:43:40 UTC 2017


On Wed, 11 Oct 2017 12:21:55 +0200
mj via samba <samba at lists.samba.org> wrote:

> 
> 
> On 10/11/2017 12:09 PM, Rowland Penny via samba wrote:
> > I did all of this, I have read everything I could find on the
> > internet and I just couldn't make it work.
> > 
> > I am now a leading expert on what doesn't work ;-)
> > 
> > Rowland
> 
> ok, that is an unusual situation... you having a problem, and things 
> working here :-)
> 
> So perhaps we're doing different things:
> 
> we mount PER USER under the users home directory. We don't have ONE 
> global mount that is shared between all logged-on users, but each has 
> his/her own shares under /home/username/share1
> -> /home/username/share4
> 
> Pam_mount mounts it on logon, both via ssh and xrdp.
> 
> The mounted shares also automatically appear as shortcuts on the 
> desktop, just like a mounted usb stick does. Very convenient for the
> users.
> 
> So perhaps you are trying to mount 'global shares', that everybody 
> should be able to access, logged on as themselves?
> 
> MJ
> 

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

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.

Rowland 



More information about the samba mailing list