git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
260d66a
)
s3:libsmb: Generate the inode only based on the path component
author
Andreas Schneider
<asn@samba.org>
Wed, 18 Dec 2019 12:27:26 +0000
(13:27 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 15 Jan 2020 09:14:17 +0000
(09:14 +0000)
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
patch
|
blob
|
history
diff --git
a/source3/libsmb/libsmb_stat.c
b/source3/libsmb/libsmb_stat.c
index 0db9be3677bacbcfc749dad9e97416ceb1782247..03db33e8173c516d290561480aad56d79219df94 100644
(file)
--- a/
source3/libsmb/libsmb_stat.c
+++ b/
source3/libsmb/libsmb_stat.c
@@
-190,7
+190,7
@@
SMBC_stat_ctx(SMBCCTX *context,
}
setup_stat(st,
-
fname
,
+
path
,
size,
mode,
ino,
@@
-296,7
+296,7
@@
SMBC_fstat_ctx(SMBCCTX *context,
}
setup_stat(st,
-
file->fname
,
+
path
,
size,
mode,
ino,