[GIT PULL] smb3 client fixes

From: Steve French
Date: Sat Feb 01 2025 - 14:04:04 EST


Please pull the following changes since commit
e0b1f59142746f74476a03040f745329c8355a7e:

Merge tag 'v6.14-rc-smb3-client-fixes-part' of
git://git.samba.org/sfrench/cifs-2.6 (2025-01-23 17:05:45 -0800)

are available in the Git repository at:

git://git.samba.org/sfrench/cifs-2.6.git tags/v6.14-rc-smb3-client-fixes-part2

for you to fetch changes up to a49da4ef4b94345554923cdba1127a2d2a73d1e6:

cifs: Fix parsing native symlinks directory/file type (2025-01-31
12:51:44 -0600)

----------------------------------------------------------------
Twenty one cifs/smb3 client fixes, most for special file type handling
- 15 fixes for special file handling, four of them for symlink
handling, three cleanups,
two for new mount options (e.g. to allow disabling using reparse
points for them,
and one to allow overriding way symlinks are saved), and fixes
to error paths,
and add support for creating sockets)
- Fix for kerberos mounts (allow IAKerb)
- SMB1 fix for stat and for setting SACL (auditing)
- Fix an incorrect error code mapping
- Two cleanup
----------------------------------------------------------------
Pali Rohár (19):
cifs: Change translation of STATUS_NOT_A_REPARSE_POINT to -ENODATA
cifs: Change translation of STATUS_PRIVILEGE_NOT_HELD to -EPERM
cifs: Validate EAs for WSL reparse points
cifs: Remove intermediate object of failed create SFU call
cifs: Fix getting and setting SACLs over SMB1
cifs: Remove unicode parameter from parse_reparse_point() function
cifs: Remove struct reparse_posix_data from struct cifs_open_info_data
cifs: Rename struct reparse_posix_data to
reparse_nfs_data_buffer and move to common/smb2pdu.h
cifs: Update description about ACL permissions
cifs: Remove symlink member from cifs_open_info_data union
cifs: Simplify reparse point check in cifs_query_path_info() function
cifs: Fix creating and resolving absolute NT-style symlinks
cifs: Add mount option -o symlink= for choosing symlink create type
cifs: Add mount option -o reparse=none
cifs: Add support for creating native Windows sockets
cifs: Add support for creating NFS-style symlinks
cifs: Fix struct FILE_ALL_INFO
cifs: Add support for creating WSL-style symlinks
cifs: Fix parsing native symlinks directory/file type

Steve French (2):
smb3: add support for IAKerb
cifs: update internal version number

fs/smb/client/asn1.c | 2 +
fs/smb/client/cifs_spnego.c | 4 +-
fs/smb/client/cifsacl.c | 25 ++-
fs/smb/client/cifsfs.c | 6 +
fs/smb/client/cifsfs.h | 4 +-
fs/smb/client/cifsglob.h | 62 +++++--
fs/smb/client/cifspdu.h | 102 ++++++-----
fs/smb/client/cifsproto.h | 4 +-
fs/smb/client/cifssmb.c | 4 +-
fs/smb/client/connect.c | 4 +
fs/smb/client/fs_context.c | 104 +++++++++++
fs/smb/client/fs_context.h | 21 +++
fs/smb/client/inode.c | 7 +-
fs/smb/client/link.c | 60 ++++--
fs/smb/client/netmisc.c | 10 +-
fs/smb/client/nterr.c | 1 +
fs/smb/client/nterr.h | 1 +
fs/smb/client/reparse.c | 517
+++++++++++++++++++++++++++++++++++++++++++++-------
fs/smb/client/reparse.h | 2 +
fs/smb/client/sess.c | 3 +-
fs/smb/client/smb1ops.c | 30 +--
fs/smb/client/smb2file.c | 52 +++++-
fs/smb/client/smb2inode.c | 5 +
fs/smb/client/smb2maperror.c | 4 +-
fs/smb/client/smb2ops.c | 23 ++-
fs/smb/client/smb2pdu.c | 2 +-
fs/smb/client/smb2proto.h | 3 +-
fs/smb/common/smb2pdu.h | 14 +-
28 files changed, 884 insertions(+), 192 deletions(-)



--
Thanks,

Steve