s3:libsmb: Generate the inode only based on the path component
authorAndreas Schneider <asn@samba.org>
Wed, 18 Dec 2019 12:27:26 +0000 (13:27 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jan 2020 08:30:23 +0000 (08:30 +0000)
commit9cb732808943f32049c46c0331fdd17d06a11e78
treeb4b14fa5d9c9b731bc7cdb1c3ff9bb2422c9ed5c
parent745f563d4c79d228c3780f187dd847c0c4d67b6e
s3:libsmb: Generate the inode only based on the path component

Currently we use the full smb url which includes also username and
password.

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

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