On Fri, Jan 23, 2015 at 01:20:05PM -0800, Jeremy Allison wrote:> On Fri, Jan 23, 2015 at 10:16:34PM +0100, Ralph B?hme wrote: > > On Fri, Jan 23, 2015 at 01:08:31PM -0800, Jeremy Allison wrote: > > > On Fri, Jan 23, 2015 at 10:05:44PM +0100, Markus Doits wrote: > > > > > > > > On 23.01.15 19:57, Miguel Medalha wrote: > > > > > I am using Samba 4.1.16 with smb2/3 and symbolic links are working alright. > > > > > > > > > > Following the smb.conf man page, I use: > > > > > > > > > > unix extensions = no > > > > > wide links = yes > > > > > > > > > > > > > > Unfortunately this still does not work for me - can you really make a > > > > symbolic link ("ln -s ...") when you are connected with smb2/3? Does > > > > "smbstatus" really show smb2/3 connection? > > > > > > No you can't - the protocol doesn't support it. > > > > iirc it does, with an IO_REPARSE_TAG_SYMLINK ioctl. We just don't > > implement it (yet). :) > > I meant (as I'm sure you know :-) that there's no "POSIX > extensions" defined for SMB2 :-). > > We don't do *any* of the reparse point stuff yet (no demand > as I recall it's Admin only on Windows).hm. Inferring from `git grep IO_REPARSE_TAG_SYMLINK` it seems smbclient does support it by virtue of the "symlink" command. Unfortunately I can't test against OS X SMB2 server atm, because once again I'm getting strange authenticaton errors. -Ralph -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de,mailto:kontakt at sernet.de
On Mon, Jan 26, 2015 at 10:54:58AM +0100, Ralph B?hme wrote:> On Fri, Jan 23, 2015 at 01:20:05PM -0800, Jeremy Allison wrote: > > On Fri, Jan 23, 2015 at 10:16:34PM +0100, Ralph B?hme wrote: > > > On Fri, Jan 23, 2015 at 01:08:31PM -0800, Jeremy Allison wrote: > > > > On Fri, Jan 23, 2015 at 10:05:44PM +0100, Markus Doits wrote: > > > > > > > > > > On 23.01.15 19:57, Miguel Medalha wrote: > > > > > > I am using Samba 4.1.16 with smb2/3 and symbolic links are working alright. > > > > > > > > > > > > Following the smb.conf man page, I use: > > > > > > > > > > > > unix extensions = no > > > > > > wide links = yes > > > > > > > > > > > > > > > > > Unfortunately this still does not work for me - can you really make a > > > > > symbolic link ("ln -s ...") when you are connected with smb2/3? Does > > > > > "smbstatus" really show smb2/3 connection? > > > > > > > > No you can't - the protocol doesn't support it. > > > > > > iirc it does, with an IO_REPARSE_TAG_SYMLINK ioctl. We just don't > > > implement it (yet). :) > > > > I meant (as I'm sure you know :-) that there's no "POSIX > > extensions" defined for SMB2 :-). > > > > We don't do *any* of the reparse point stuff yet (no demand > > as I recall it's Admin only on Windows). > > > hm. Inferring from `git grep IO_REPARSE_TAG_SYMLINK` it seems > smbclient does support it by virtue of the "symlink" > command. Unfortunately I can't test against OS X SMB2 server atm, > because once again I'm getting strange authenticaton errors.Nope - the "symlink" command in smbclient just does the UNIX extensions call.
On Mon, Jan 26, 2015 at 11:44:47AM -0800, Jeremy Allison wrote:> On Mon, Jan 26, 2015 at 10:54:58AM +0100, Ralph B?hme wrote: > > On Fri, Jan 23, 2015 at 01:20:05PM -0800, Jeremy Allison wrote: > > > On Fri, Jan 23, 2015 at 10:16:34PM +0100, Ralph B?hme wrote: > > > > On Fri, Jan 23, 2015 at 01:08:31PM -0800, Jeremy Allison wrote: > > > > > On Fri, Jan 23, 2015 at 10:05:44PM +0100, Markus Doits wrote: > > > > > > > > > > > > On 23.01.15 19:57, Miguel Medalha wrote: > > > > > > > I am using Samba 4.1.16 with smb2/3 and symbolic links are working alright. > > > > > > > > > > > > > > Following the smb.conf man page, I use: > > > > > > > > > > > > > > unix extensions = no > > > > > > > wide links = yes > > > > > > > > > > > > > > > > > > > > Unfortunately this still does not work for me - can you really make a > > > > > > symbolic link ("ln -s ...") when you are connected with smb2/3? Does > > > > > > "smbstatus" really show smb2/3 connection? > > > > > > > > > > No you can't - the protocol doesn't support it. > > > > > > > > iirc it does, with an IO_REPARSE_TAG_SYMLINK ioctl. We just don't > > > > implement it (yet). :) > > > > > > I meant (as I'm sure you know :-) that there's no "POSIX > > > extensions" defined for SMB2 :-). > > > > > > We don't do *any* of the reparse point stuff yet (no demand > > > as I recall it's Admin only on Windows). > > > > > > hm. Inferring from `git grep IO_REPARSE_TAG_SYMLINK` it seems > > smbclient does support it by virtue of the "symlink" > > command. Unfortunately I can't test against OS X SMB2 server atm, > > because once again I'm getting strange authenticaton errors. > > Nope - the "symlink" command in smbclient just does the UNIX > extensions call.Ignore me, I'm wrong :-). My original smbclient code just did the UNIX extensions call, but it looks like busy little fingers have added the FSCTL_SET_REPARSE_POINT call since then :-).