> I'm using windows 7 as client and a Samba 4.1.21 server.> > I would like to create symbolic link on a share with mklink, > > it failes with a reparse point error message. > > > > Trying to find more information i found this discussion > > > https://lists.samba.org/archive/samba-technical/2014-September/102388.html > > > > So it seems that i'm not the only one to trying to do that without > success. > > > > Reading microsoft SMB documentation i found that this feature is optional > > and the > > server may or may not support it. > > > > Is it something that exists in newest version, or maybe it is in the > > roadmap, or will > > never be supported ? > > Doesn't exist yet. No one has really found a pressing > need for it. It's not too difficult to support. > > If you have a pressing need for it you can always > hire a Samba support company to implement it (or > wait until one of the Team employers has a pressing > need for it :-). >So no one is interesting in having symbolic link on a samba server ? When i was looking for informations, most of people think that symbolic link are reserved to NTFS and can't exists on a smb server, that why no one ask for. I'm pretty sure a lot of people are waiting for this ( at least people that use unix system ) but that's just my personnal opinion Regards
Months ago (do not remember exactly how I did this) I setup a directory on my samba member server that is are common company files that are shared across most users. This directory was separate and unrelated to 'folder redirection'. If my memory is correct, I read up in Windows 7 hardlinks(?) and applied what I had learned there and it worked. I then created a GPO that "maps drives" and mapped that directory to a drive for W7 to "see." I had to adjust the ACL rights to allow a user group I created with 'setfacl'. As users were added to that group access to this "common directory" was permitted. I am sorry, but I am too busy with production the rest of this week and may not have time to find my notes on what I did until next week. Hope this will push you in a good direction. --- _______________________________ Bob Wooden of Donelson Trophy 615.885.2846 www.donelsontrophy.com [2] "Everyone deserves an award!!" On 2015-12-02 07:30, Marc JIROU wrote:>> I'm using windows 7 as client and a Samba 4.1.21 server. > I would like to create symbolic link on a share with mklink, it failes with a reparse point error message. Trying to find more information i found this discussion https://lists.samba.org/archive/samba-technical/2014-September/102388.html [1] So it seems that i'm not the only one to trying to do that without success. Reading microsoft SMB documentation i found that this feature is optional and the server may or may not support it. Is it something that exists in newest version, or maybe it is in the roadmap, or will never be supported ? Doesn't exist yet. No one has really found a pressing need for it. It's not too difficult to support. If you have a pressing need for it you can always hire a Samba support company to implement it (or wait until one of the Team employers has a pressing need for it :-).So no one is interesting in having symbolic link on a samba server ? When i was looking for informations, most of people think that symbolic link are reserved to NTFS and can't exists on a smb server, that why no one ask for. I'm pretty sure a lot of people are waiting for this ( at least people that use unix system ) but that's just my personnal opinion Regards Links: ------ [1] https://lists.samba.org/archive/samba-technical/2014-September/102388.html [2] http://www.donelsontrophy.com
On Wed, Dec 02, 2015 at 02:30:00PM +0100, Marc JIROU wrote:> > So no one is interesting in having symbolic link on a samba server ? > > When i was looking for informations, most of people think that symbolic > link are > reserved to NTFS and can't exists on a smb server, that why no one ask for. > > I'm pretty sure a lot of people are waiting for this ( at least people that > use unix system ) > but that's just my personnal opinionWell people use symlinks on Samba servers all the time. But they create and manage them on the UNIX side and the Windows clients are unaware of them. What advantage does having the clients aware of the link bring ? Remember, we already restrict the clients from traversing outside of the share path.
>> > So no one is interesting in having symbolic link on a samba server ? > > > > When i was looking for informations, most of people think that symbolic > > link are > > reserved to NTFS and can't exists on a smb server, that why no one ask > for. > > > > I'm pretty sure a lot of people are waiting for this ( at least people > that > > use unix system ) > > but that's just my personnal opinion > > Well people use symlinks on Samba servers all the time. > But they create and manage them on the UNIX side and > the Windows clients are unaware of them. > > What advantage does having the clients aware of the > link bring ? Remember, we already restrict the clients > from traversing outside of the share path. >Don't you think that i will be easier to support mklink symlink creation, instead of having to ssh/rsh ... to a linux box to make a ln ? People do it all the time because they have no choice. As you said people are doing it all the time but have no easy way to do it, and as samba is offering file services to windows users most of them have no knowledge how to do it.
I am sure glad to see this. My method was a crude and difficult solutions to a simple linux/unix symbolic link. Will be fixing my mess, soon. Thanks Jeremy. --- _______________________________ Bob Wooden of Donelson Trophy 615.885.2846 www.donelsontrophy.com [1] "Everyone deserves an award!!" On 2015-12-02 10:39, Jeremy Allison wrote:> On Wed, Dec 02, 2015 at 02:30:00PM +0100, Marc JIROU wrote: > >> So no one is interesting in having symbolic link on a samba server ? When i was looking for informations, most of people think that symbolic link are reserved to NTFS and can't exists on a smb server, that why no one ask for. I'm pretty sure a lot of people are waiting for this ( at least people that use unix system ) but that's just my personnal opinion > > Well people use symlinks on Samba servers all the time. > But they create and manage them on the UNIX side and > the Windows clients are unaware of them. > > What advantage does having the clients aware of the > link bring ? Remember, we already restrict the clients > from traversing outside of the share path.Links: ------ [1] http://www.donelsontrophy.com
On Wed, Dec 02, 2015 at 08:39:27AM -0800, Jeremy Allison wrote:> On Wed, Dec 02, 2015 at 02:30:00PM +0100, Marc JIROU wrote: > > > > So no one is interesting in having symbolic link on a samba server ? > > > > When i was looking for informations, most of people think that symbolic > > link are > > reserved to NTFS and can't exists on a smb server, that why no one ask for. > > > > I'm pretty sure a lot of people are waiting for this ( at least people that > > use unix system ) > > but that's just my personnal opinion > > Well people use symlinks on Samba servers all the time. > But they create and manage them on the UNIX side and > the Windows clients are unaware of them. > > What advantage does having the clients aware of the > link bring ?POSIX clients, eg OS X loves symlinks. -Ralph