Print this page
NEX-14666 Need to provide SMB 2.1 Client
NEX-17187 panic in smbfs_acl_store
NEX-17231 smbfs create xattr files finds wrong file
NEX-17224 smbfs lookup EINVAL should be ENOENT
NEX-17260 SMB1 client fails to list directory after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
and: (cleanup)
NEX-16824 SMB client connection setup rework
NEX-17232 SMB client reconnect failures
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
and: (improve debug)
@@ -1,14 +1,16 @@
#define ID_SRVADDR 0x0
#define ID_DOMAIN 0x20
#define ID_DOMAIN_INCR 0x1
#define ID_USER 0x120
#define ID_USER_INCR 0x1
-#define SSN_VOPT 0x0
-#define SSN_OWNER 0x4
-#define SSN_ID 0x8
-#define SSN_SRVNAME 0x228
+#define SSN_OWNER 0x0
+#define SSN_VOPT 0x4
+#define SSN_MINVER 0x8
+#define SSN_MAXVER 0xa
+#define SSN_ID 0xc
+#define SSN_SRVNAME 0x22c
#define SSN_SRVNAME_INCR 0x1
#define SH_USE 0x0
#define SH_TYPE 0x4
#define SH_NAME 0x8
#define SH_NAME_INCR 0x1
@@ -15,74 +17,31 @@
#define SH_PASS 0x108
#define SH_PASS_INCR 0x1
#define TC_FLAGS 0x0
#define TC_OPT 0x4
#define TC_SH 0x8
-#define SV_PROTO 0x0
-#define SV_SM 0x2
-#define SV_TZ 0x4
-#define SV_MAXMUX 0x6
-#define SV_MAXVCS 0x8
-#define SV_RAWMODE 0xa
-#define SV_MAXTX 0xc
-#define SV_MAXRAW 0x10
-#define SV_SKEY 0x14
-#define SV_CAPS 0x18
-#define IS_TRAN_FD 0x0
-#define IS_VCFLAGS 0x4
-#define IS_HFLAGS 0x8
-#define IS_HFLAGS2 0xa
-#define IS_SMBUID 0xc
-#define IS_NEXT_MID 0xe
-#define IS_TXMAX 0x10
-#define IS_RWMAX 0x14
-#define IS_RXMAX 0x18
-#define IS_WXMAX 0x1c
-#define IS_SSN_KEY 0x20
-#define IS_SSN_KEY_INCR 0x1
-#define IS_NEXT_SEQ 0x30
-#define IS_U_MACLEN 0x34
-#define IS_U_MACKEY 0x38
-#define WK_IODS 0x0
-#define WK_SOPT 0x40
-#define WK_OUT_STATE 0x5c
-#define SIZEOF_SMBIOC_RQ 0x20
-#define IOC_CMD 0x0
-#define IOC_RQ_ERRCLASS 0x1
-#define IOC_RQ_SERROR 0x2
-#define IOC_RQ_ERROR 0x4
-#define IOC_TBUFSZ 0x8
-#define IOC_RBUFSZ 0xc
-#define _IOC_TBUF 0x10
-#define _IOC_RBUF 0x18
-#define SIZEOF_SMBIOC_T2RQ 0xc0
-#define IOC_SETUP 0x0
-#define IOC_SETUP_INCR 0x2
-#define IOC_SETUPCNT 0x8
-#define IOC_T2_NAME 0xc
-#define IOC_T2_NAME_INCR 0x1
-#define IOC_TPARAMCNT 0x8c
-#define IOC_TDATACNT 0x8e
-#define IOC_RPARAMCNT 0x90
-#define IOC_RDATACNT 0x92
-#define IOC_T2_ERRCLASS 0x95
-#define IOC_T2_SERROR 0x96
-#define IOC_T2_ERROR 0x98
-#define IOC_RPFLAGS2 0x9c
-#define _IOC_TPARAM 0xa0
-#define _IOC_TDATA 0xa8
-#define _IOC_RPARAM 0xb0
-#define _IOC_RDATA 0xb8
-#define SIZEOF_SMBIOC_FLAGS 0xc
-#define IOC_LEVEL 0x0
-#define IOC_MASK 0x8
-#define IOC_FLAGS 0x4
+#define WK_OUT_STATE 0x0
+#define WK_U_SSNKEY_LEN 0x4
+#define WK_U_SSNKEY_BUF 0x8
+#define WK_U_AUTH_RLEN 0x10
+#define WK_U_AUTH_WLEN 0x14
+#define WK_U_AUTH_RBUF 0x18
+#define WK_U_AUTH_WBUF 0x20
+#define WK_CL_GUID 0x28
+#define WK_CL_GUID_INCR 0x1
#define SIZEOF_SMBIOC_RW 0x18
-#define IOC_FH 0x0
-#define IOC_CNT 0x4
+#define IOC_CNT 0x0
+#define IOC_FLAGS 0x4
#define _IOC_OFFSET 0x8
#define _IOC_BASE 0x10
+#define SIZEOF_SMBIOC_XNP 0x20
+#define IOC_TDLEN 0x0
+#define IOC_RDLEN 0x4
+#define IOC_MORE 0x8
+#define IOC_PAD1 0xc
+#define _IOC_TDATA 0x10
+#define _IOC_RDATA 0x18
#define SIZEOF_NTCREATE 0x114
#define IOC_REQ_ACC 0x0
#define IOC_EFATTR 0x4
#define IOC_SHARE_ACC 0x8
#define IOC_OPEN_DISP 0xc