[PATCH] Fix reversal of symlink command parameters when creating reparse points on a Windows server.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Fix reversal of symlink command parameters when creating reparse points on a Windows server.

Samba - samba-technical mailing list
Another discovery in my work to make reparse points work
over SMB2 (in order to get some tests so I can implement
the server side in smbd :-).

The smbclient 'symlink' command reversed the sense of
newname and link_taget when creating a reparse point
on a Windows server, vs the sense of the parameters
when creating a UNIX extensions symlink against smbd.

Patch fixes this, plus renames the 'oldname' paramters
to 'link_target' so we have a chance of getting this
right in future :-).

Please review and push if happy !

Jeremy.

bug-13172.master (9K) Download Attachment