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-05 07:39:28 +0000
commit8d407971129ae308c574c0d9dc7e0cfd7c7483b1 (patch)
treefcbae2a26a2e89fd8d2b9c04c944f7c666b90dd1
parent3060221960b6d76a98f1a3eaf8afefe12a0fc717 (diff)
downloadsamba-8d407971129ae308c574c0d9dc7e0cfd7c7483b1.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 bb20ebeec86..a2dbf344bb7 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -8829,6 +8829,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;
}