s3: libsmb: Fix reversing of oldname/newname paths when creating a reparse point...
authorJeremy Allison <jra@samba.org>
Wed, 29 Nov 2017 21:16:43 +0000 (13:16 -0800)
committerVolker Lendecke <vl@samba.org>
Thu, 30 Nov 2017 14:30:23 +0000 (15:30 +0100)
commitabbc9b9ab793d22bca6a37828f4375ef38c56dd3
treedc5aa263907e79a48a20b1b15c0e27858fd3dc7c
parent8448dcaa8da78bcb84fca6a000c75e256bce1e77
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>
source3/libsmb/clisymlink.c