summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2019-02-23 12:26:01 -0800
committerKarolin Seeger <kseeger@samba.org>2019-03-04 10:37:55 +0000
commitfe4254ef4e130fb74917713a4eda14619630807f (patch)
tree3f6e34290b914066eb6d4453e3ab2fe9bfa6db7d
parentf59064f8a9611739a232bd30610e53bf5f86feb9 (diff)
downloadsamba-fe4254ef4e130fb74917713a4eda14619630807f.tar.gz
smbd: SMB1-POSIX: Add missing info-level SMB_POSIX_PATH_OPEN for UCF_UNIX_NAME_LOOKUP flag.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13803 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> (cherry picked from commit 980db8debde68f9edce13fc01bc45a904379cffd)
-rw-r--r--source3/smbd/trans2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index e7a6e051e5b..0ec1c5f2a6a 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -8830,6 +8830,7 @@ static void call_trans2setfilepathinfo(connection_struct *conn,
if (info_level == SMB_SET_FILE_UNIX_BASIC ||
info_level == SMB_SET_FILE_UNIX_INFO2 ||
info_level == SMB_FILE_RENAME_INFORMATION ||
+ info_level == SMB_POSIX_PATH_OPEN ||
info_level == SMB_POSIX_PATH_UNLINK) {
ucf_flags |= UCF_UNIX_NAME_LOOKUP;
}