git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
126274e
)
s3: smbd: posix filenames are never mangled.
author
Jeremy Allison
<jra@samba.org>
Thu, 24 May 2018 23:37:31 +0000
(16:37 -0700)
committer
Jeremy Allison
<jra@samba.org>
Mon, 25 Feb 2019 20:48:04 +0000
(12:48 -0800)
Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/filename.c
patch
|
blob
|
history
diff --git
a/source3/smbd/filename.c
b/source3/smbd/filename.c
index ae582d21f24ed95e0a90b15654dd63fcf28fb6d7..e0d5706d72e7f1c25f683b6e939cf63119330b69 100644
(file)
--- a/
source3/smbd/filename.c
+++ b/
source3/smbd/filename.c
@@
-403,6
+403,9
@@
static bool name_is_mangled(connection_struct *conn,
uint32_t ucf_flags,
const char *name)
{
+ if (ucf_flags & UCF_POSIX_PATHNAMES) {
+ return false;
+ }
return mangle_is_mangled(name, conn->params);
}