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:
c19eaf3
)
s3: smbd: Moving lp_posix_pathnames() out of the lower-level code.
author
Jeremy Allison
<jra@samba.org>
Fri, 11 Dec 2015 22:45:37 +0000
(14:45 -0800)
committer
Jeremy Allison
<jra@samba.org>
Sun, 13 Dec 2015 21:59:27 +0000
(22:59 +0100)
Prepare to remove lp_posix_pathnames() out of ms_has_wild().
Check before calls to ms_has_wild().
Fixup reply_ntrename().
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source3/smbd/nttrans.c
b/source3/smbd/nttrans.c
index 19c7153e22d3a966d0b34a786af08af47f808d70..098d88bce2d9c2d9caae26ae38135cacfeb3b2f5 100644
(file)
--- a/
source3/smbd/nttrans.c
+++ b/
source3/smbd/nttrans.c
@@
-1548,7
+1548,7
@@
void reply_ntrename(struct smb_request *req)
goto out;
}
- if (ms_has_wild(oldname)) {
+ if (
!lp_posix_pathnames() &&
ms_has_wild(oldname)) {
reply_nterror(req, NT_STATUS_OBJECT_PATH_SYNTAX_BAD);
goto out;
}