summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/smbsrv
AgeCommit message (Collapse)AuthorFilesLines
2022-12-1615211 smbtorture failures in smb2.delete-on-close-perms.READONLYGordon Ross2-2/+20
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-1415210 smbtorture lease and oplock failuresGordon Ross5-96/+199
Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-1415188 smb oplock blocking access to foldersGordon Ross9-534/+1226
Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed by: Jerry Jelinek <gjelinek@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-0615184 SMB Service fails to restartGordon Ross4-69/+108
15185 SMB sessions linger after disconnect 15186 SMB use smb_llist_post in srv_oplock Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-0315183 SMB server debug builds are a bit noisyGordon Ross2-4/+19
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-0115182 Fix some SMB dtrace issuesGordon Ross8-16/+17
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Rich Lowe <richlowe@richlowe.net>
2022-11-2815158 WPTS FSA FileInfo_Set_FileBasicInformation_Dir_NegativeGordon Ross2-3/+21
Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-11-2815157 WPTS FSA FileInfo_Query_FilePositionInformationGordon Ross1-2/+3
Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-11-2815156 WPTS FSA FileInfo_Query_FileModeInformationGordon Ross1-3/+21
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-11-1615155 WPTS BVT_SMB2Basic_Query_FileNormalizedNameInformationGordon Ross1-3/+44
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-1615154 WPTS FSA BVT_AlternateDataStream_ListStreams_FileGordon Ross1-114/+93
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-1615153 WPTS FileInfo_Query_FileIdInformation_Dir/File failsGordon Ross1-0/+52
Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-1615150 WPTS FileInfo_Query_FileAccessInformation_DataSuffixGordon Ross1-24/+71
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0915108 SMB option to enable short namesGordon Ross5-14/+22
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Yuri Pankov <yuri@aetern.org> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0915101 WPTS FSA QueryDirectory test cases with ShortName errorsGordon Ross1-5/+12
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0715100 WPTS BVT_SMB2Basic_ChangeNotify_... (write cases)Gordon Ross5-37/+81
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-11-0415082 SMB Clients see but can't access restricted named streamsPrashanth Badari4-14/+32
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0215099 WPTS BVT_SMB2Basic_ChangeNotify_ChangeSecurityGordon Ross1-0/+6
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0215098 WPTS BVT_SMB2Basic_ChangeNotify_NoFileListDirectoryInGrantedAccessGordon Ross1-0/+4
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0215097 WPTS BVT_SMB2Basic_ChangeNotify_MaxTransactSizeCheck_Smb21Gordon Ross1-2/+5
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0115096 WPTS BVT_OffloadReadWriteGordon Ross1-99/+203
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-11-0115095 WPTS BVT_EnumerateSnapShotsGordon Ross1-0/+3
Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2815094 WPTS BVT_SMB2Basic_Query_FileAllInformationGordon Ross1-5/+24
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2415093 SMB error after Win10 tries FSCTL_PIPE_WAITGordon Ross1-2/+73
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2015089 WPTS BVT_TreeMgmt_SMB311_Disconnect_NoSignedNoEncryptedTreeConnectGordon Ross1-3/+21
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1715074 SMB Server should return STATUS_INVALID_DEVICE_REQUEST for unsupported ↵Gordon Ross4-20/+41
FSCTLs Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Albert Lee <alee@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1715073 smb: Server returns zero credits in negotiate error responseGordon Ross1-200/+228
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1415045 SMB should implement FSCTL_DFS_GET_REFERRALS_EXGordon Ross1-10/+117
Reviewed-by: Jerry Jelinek <gjelinek@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1415044 SMB should return NT_STATUS_FS_DRIVER_REQUIRED for DFS ioctls when DFS ↵Gordon Ross1-2/+33
is not supported Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed-by: Jerry Jelinek <gjelinek@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1315032 SMB: Can't create a file with a NULL DACLMatt Barden1-2/+5
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1115051 SMB2 signature mismatch gets wrong errorGordon Ross1-3/+2
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-0415013 smbsrv: cannot rename file whose name was CATIA-convertedMatt Barden1-4/+6
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Suresh Jayaraman <sjayaraman@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-2814988 smb: panic in smb_common_open after pool exportGordon Ross1-0/+1
Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-2614999 SMB server mis-handles very long file namesGordon Ross2-2/+15
Reviewed-by: Garrett D'Amore <gdamore@damore.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed-by: Jerry Jelinek <gjelinek@racktopsystems.com> Reviewed-by: Vitaliy Gusev <gusev.vitaliy@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-2314989 SMB panic running smbtorture smb2.durable-open.delete_on_close1Gordon Ross2-0/+4
Reviewed-by: Jerry Jelinek <gjelinek@racktopsystems.com> Reviewed-by: Garrett D'Amore <gdamore@damore.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Sam Zaydel <szaydel@racktopsystems.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-2014986 SMB Shares appear to be rename-able from ClientsAlexander Stetsenko1-0/+8
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-1614869 ODX copy between shares failsGordon Ross1-8/+44
Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Evan Layton <elayton@tintri.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-1414868 SMB reconnect fails when previous session still disconnectingPrashanth Badari5-16/+118
Reviewed by: Gordon Ross <gordon.ross@tintri.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Suresh Jayaraman <sjayaraman@tintri.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-1314867 panic in smb_request_alloc / smb_oplock_ind_break during shutdownGordon Ross14-38/+165
Portions contributed by: Prashanth Badari <prashanth.badari@tegile.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Suresh Jayaraman <sjayaraman@tintri.com> Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-08-0914866 SMB oplock not recalled when there is a request from NFSGordon Ross2-6/+60
Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Suresh Jayaraman <sjayaraman@tintri.com> Reviewed by: Jerry Jelinek <gjelinek@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-08-0714831 NULL-pointer dereference in smb1_oplock_break_notification during ↵Gordon Ross4-77/+90
lease break Reviewed by: Albert Lee <trisk@forkgnu.org> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Jerry Jelinek <gjelinek@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-07-1114739 smbtorture disconnect after bad credit grantGordon Ross1-22/+25
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jerry Jelinek <gjelinek@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-06-0914142 kernel SMB spams log when it hits max_connectionsGordon Ross1-6/+39
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2022-02-225513 KM_NORMALPRI should be documented in kmem_alloc(9f) and ↵Dan McDonald2-2/+2
kmem_cache_create(9f) man pages 14465 Present KM_NOSLEEP_LAZY as documented interface Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-01-2313914 smbd encrypt_cipher property should list enabled ciphers explicitlyAlexander Stetsenko1-29/+18
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-01-1114376 smbsrv: 'find_mech' accessing 32 bytes in a region of size ...Toomas Soome2-2/+2
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-09-1714085 ASSERT failure in smb_sd_tofsMatt Barden1-7/+20
Reviewed by: Gordon Ross <gordon.ross@tintri.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Jason King <jason.brian.king@gmail.com>
2021-09-1514046 Windows Server 2022 and Windows 11 cannot connect to SMB shareAndy Fiddaman1-2/+4
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-07-1513875 panic in smb_is_same_user while importing dh handlesPrashanth Badari1-0/+3
Reviewed by: Suresh Jayaraman <sjayaraman@tintri.com> Reviewed by: Gordon Ross <gordon.ross@tintri.com> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Garrett D'Amore <garrett@damore.org>
2021-07-1513874 SMB durable handle reclaim lease sometimes failsGordon Ross1-1/+7
Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Garrett D'Amore <garrett@damore.org>