> 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> What version of Samba ?Version 4.2.14-Debian (I'm actually using Open Media Vault) Thanks, Shak ________________________________ From: samba <samba-bounces at lists.samba.org> on behalf of Rowland Penny via samba <samba at lists.samba.org> Sent: 12 September 2017 17:41 To: samba at lists.samba.org What is the homes share on ? How have you set smb.conf up ? What version of Samba ? Sorry, but you haven't given us enough info. Rowland
On Tue, 12 Sep 2017 16:53:54 +0000 Shakil Shaikh via samba <samba at lists.samba.org> 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 objectsAnd 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
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 at lists.samba.org> on behalf of Rowland Penny via samba <samba at lists.samba.org> Sent: 12 September 2017 18:25 To: samba at lists.samba.org Subject: Re: [Samba] "homes" vs "home" On Tue, 12 Sep 2017 16:53:54 +0000 Shakil Shaikh via samba <samba at lists.samba.org> 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 objectsAnd 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