libsmb: Fix the smbclient readlink command
commit3804161dca1d23ab44b2c22bdf199bf640fd6cb5
authorVolker Lendecke <vl@samba.org>
Thu, 29 Sep 2022 13:41:30 +0000 (29 15:41 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 3 Oct 2022 20:03:32 +0000 (3 20:03 +0000)
treee62740b4fb0160bc4fc4cf3cc69e7afa05094fbf
parentf471b2c70ed67507a7a6abe70321089617565426
libsmb: Fix the smbclient readlink command

We use cli_smb2_qpathinfo_basic() for cli_resolve_path() before
calling cli_readlink(). This fails as it never tries with
FILE_OPEN_REPARSE_POINT, so we never get to the point where we
actually can issue the FSCTL_GET_REPARSE_POINT.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/cli_smb2_fnum.c