Web lists-archives.com

Re: [Samba] "homes" vs "home"




Thank you for the replies. After some more reading I realised that path substitution works in general shares and not just [homes], so something like the following achieves what I'm looking for:

[home]
path = /data/users/%U

This works in 4.2.14 (although I am now looking on how to upgrade Samba too!)

Thanks again,

Shak
________________________________
From: samba <samba-bounces@xxxxxxxxxxxxxxx> on behalf of Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>
Sent: 12 September 2017 18:25
To: samba@xxxxxxxxxxxxxxx
Subject: Re: [Samba] "homes" vs "home"

On Tue, 12 Sep 2017 16:53:54 +0000
Shakil Shaikh via samba <samba@xxxxxxxxxxxxxxx> wrote:

> > What is the homes share on ?
>
> I'm not quite sure what this is asking. The paths are of the
> form /data/homefolder/<users>, on a mounted local disk.
>
> > How have you set smb.conf up ?
>
> The homes section is as follows:
>
> [homes]
> comment = Home directories
> browseable = yes
> writable = yes
> create mask = 0600
> force create mode = 0600
> directory mask = 0700
> force directory mode = 0700
> valid users = %S
> hide special files = yes
> follow symlinks = yes
> vfs objects =

And the [global] section is ??????

>
> > What version of Samba ?
>
> Version 4.2.14-Debian (I'm actually using Open Media Vault)
>

4.2.x is EOL as far as Samba is concerned, is there any way you can
update to a later version, preferably 4.5.x or later

Rowland


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