s3: libsmb: Fix reversing of oldname/newname paths when creating a reparse point...
commit2d1d00bdd0f1acf66c6700488f4a3e3970b722a1
authorJeremy Allison <jra@samba.org>
Wed, 29 Nov 2017 21:16:43 +0000 (29 13:16 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Dec 2017 13:19:59 +0000 (13 14:19 +0100)
treeb9c78330d119ff04a549fc61e2b9b3b2a8783466
parent3f1f2a82896fb7f506b4671a95613365e9250f46
s3: libsmb: Fix reversing of oldname/newname paths when creating a reparse point symlink on Windows from smbclient.

This happened as smbd doesn't support reparse points so we couldn't test.
This was the reverse of the (tested) symlink parameters in the unix extensions
symlink command.

Rename parameters to link_target instead of oldname so this is clearer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13172

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit abbc9b9ab793d22bca6a37828f4375ef38c56dd3)

Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Wed Dec 13 14:19:59 CET 2017 on sn-devel-144
source3/libsmb/clisymlink.c