diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 0820b96049f..6310c8a1d84 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -5096,6 +5096,7 @@ static NTSTATUS open_directory(connection_struct *conn, .req = req, .create_disposition = create_disposition, .access_mask = access_mask, + .open_access_mask = access_mask, .share_access = share_access, .oplock_request = NO_OPLOCK, .lease = NULL,