Project

General

Profile

Bug #10973

SMB server declines EA support incorrectly

Added by Gordon Ross 8 days ago. Updated 2 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2019-05-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

While working on #10974, we found we needed to correct how we respond to requests to open or create the (OLD) OS/2-style "extended attributes" (EAs) We don't support those because modern clients don't use them, particularly when the server supports "NT Named Streams" as we do. However, in order to run many of the smbtorture tests, we need to more correctly decline to create EAs. When asked to create a file with an EA, we're supposed to return NT_STATUS_EAS_NOT_SUPPORTED The code was not doing that until this fix. When asked to open an existing EA we already correctly report "not found".

History

#1

Updated by Gordon Ross 5 days ago

  • Subject changed from SMB server declines EA support incorrectly to SMB1 create file should support extended_response format
  • Description updated (diff)
  • Status changed from New to In Progress
#2

Updated by Gordon Ross 5 days ago

The only SMB client we've seen that cares about EA support is smbtorture.

#3

Updated by Gordon Ross 5 days ago

Testing: smbtorture per. the description.
In production since late 2016

#4

Updated by Gordon Ross 5 days ago

  • Subject changed from SMB1 create file should support extended_response format to SMB server declines EA support incorrectly
  • Description updated (diff)
#5

Updated by Gordon Ross 5 days ago

  • Description updated (diff)
#6

Updated by Electric Monk 2 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 3bd40d9837ed643779c04bcc9d85d24be281ef29

commit  3bd40d9837ed643779c04bcc9d85d24be281ef29
Author: Gordon Ross <gwr@nexenta.com>
Date:   2019-05-21T12:07:54.000Z

    10973 SMB server declines EA support incorrectly
    Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
    Reviewed by: Matt Barden <Matt.Barden@nexenta.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF