• S
    [CIFS] Do not set DFS flag on SMB2 open · f87ab88b
    Steve French 提交于
    If we would set SMB2_FLAGS_DFS_OPERATIONS on open we also would have
    to pass the path on the Open SMB prefixed by \\server\share.
    Not sure when we would need to do the augmented path (if ever) and
    setting this flag breaks the SMB2 open operation since it is
    illegal to send an empty path name (without \\server\share prefix)
    when the DFS flag is set in the SMB open header. We could
    consider setting the flag on all operations other than open
    but it is safer to net set it for now.
    Signed-off-by: NSteve French <smfrench@gmail.com>
    f87ab88b
smb2pdu.c 61.8 KB