mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3: smbd: Moving lp_posix_pathnames() out of the lower-level code.
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>
This commit is contained in:
parent
c19eaf3e25
commit
cad35c5183
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user