diff --git a/source3/smbd/open.c b/source3/smbd/open.c index ebf7b97..ddf7702 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -4460,6 +4460,11 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, oplock_request |= INTERNAL_OPEN_ONLY; } + if ((ea_list != NULL) && !lp_ea_support(SNUM(conn))) { + status = NT_STATUS_EAS_NOT_SUPPORTED; + goto fail; + } + if (lease != NULL) { uint16_t epoch = lease->lease_epoch; uint16_t version = lease->lease_version;