s3: libsmb: Ensure SMB1 cli_qpathinfo2() doesn't return an inode number.
commit509f11547f3eee151e16f14a17c58d193cf81993
authorJeremy Allison <jra@samba.org>
Thu, 17 Oct 2019 18:39:02 +0000 (17 11:39 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 Nov 2019 07:36:28 +0000 (4 07:36 +0000)
tree6fed690977cff0bb2f3652838213a6f584a817be
parente704eee3083658f7dcdd4238295f8e0b229a1688
s3: libsmb: Ensure SMB1 cli_qpathinfo2() doesn't return an inode number.

The info level it uses doesn't return that, previously we
were using the field that is returned as the EA size as
the inode number (which is usually zero, so the code in
libsmbclient would then synthesize an inode number from
a hash of the pathname, which is all it can do for SMB1).

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit d495074ee27a5f528d5156a69800ee58d799b1eb)
source3/libsmb/clirap.c