summaryrefslogtreecommitdiff
path: root/usr/src/cmd/smbsrv
AgeCommit message (Collapse)AuthorFilesLines
2022-12-1415210 smbtorture lease and oplock failuresGordon Ross20-139/+318
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 Ross2-17/+34
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-11-0915108 SMB option to enable short namesGordon Ross1-1/+3
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-10-1915076 smbadm join should update local administrators group membershipGordon Ross1-2/+69
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed-by: Jim Johnson <jjohnson@racktopsystems.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-1215043 smbadm - need ability to read credentials from stdinGordon Ross1-31/+59
Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-0515030 AD join should allow specifying container OUGordon Ross1-6/+22
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-09-2915006 Implement pre-auth integrity for fksmbdGordon Ross1-1/+1
Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Patrick Mooney <pmooney@pfmooney.com>
2022-08-0914866 SMB oplock not recalled when there is a request from NFSGordon Ross2-2/+15
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 Ross1-1/+2
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-2014647 SMB: Kerberos and NTLM auth should do the same post-workMatt Barden3-58/+140
Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-03-1014443 resection manual pages per IPD4Richard Lowe2-2/+2
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2022-02-1614479 SMB testoplock broken after 13515 (fix check_rtime)Gordon Ross1-2/+1
2022-02-1514479 SMB testoplock broken after 13515Gordon Ross2-1/+19
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@joyent.com>
2022-01-2414173 Various smf manifests still contain Solaris referencesJason King1-1/+1
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Garrett D'Amore <garrett@damore.org>
2022-01-2414095 Dtrace probes for nbmand conflict identificationGordon Ross2-1/+58
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-11-0513707 remove C99LMODE cruftYuri Pankov4-25/+0
13708 remove lint cruft from Makefile.master Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-08-1314021 stack overflow in smbd:smbd_dc_checkAndy Fiddaman1-2/+2
Reviewed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-06-0713853 Some SMB commands missing CTF supportGordon Ross3-0/+3
Reviewed by: Evan Layton <elayton@tintri.com> Reviewed by: Joyce McIntosh <jmcintosh@tintri.com> Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2021-06-0713852 smbstat -r dumps coreGordon Ross1-16/+21
Reviewed by: Evan Layton <elayton@tintri.com> Reviewed by: Joyce McIntosh <jmcintosh@tintri.com> Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2021-05-0713745 Make SMBsrv compatible with Modern Cups/ OpenPrinting CupsHans Rosenfeld1-20/+11
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org> Change-Id: Icdf81f7aa84397e801f5c560bbb54901dafda457
2021-02-2713572 SMB Query FileFsVolumeInformation should allow truncationGordon Ross2-24/+160
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-02-2013515 panic with bad mutex in smb_ofile_hold_olbrkGordon Ross1-1/+2
Portions contributed by: Matt Barden <mbarden@tintri.com> Reviewed by: Evan Layton <elayton@tintri.com> Reviewed by: Rick McNeal <rmcneal@tintri.com> Reviewed by: Paul Winder <paul@winder.uk.net> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-01-3013169 CVE-2020-1472 (ZeroLogon) and SMB authenticationMatt Barden1-0/+3
Reviewed by: Joyce McIntosh <jmcintosh@tintri.com> Reviewed by: Evan Layton <elayton@tintri.com> Reviewed by: Gordon Ross <gordon.ross@tintri.com> Reviewed by: Prashanth Badari <prbadari@tintri.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: C Fraire <cfraire@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-09-0113045 Idmap's KDC lookup override doesn't workMatt Barden1-1/+9
Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-07-1012513 SMB 3.1.1 support for serverAlexander Stetsenko1-1/+3
Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-02-2012125 smbsrv: passing argument 1 to restrict-qualified parameter aliases ↵Toomas Soome1-5/+4
with argument 4 Reviewed by: C Fraire <cfraire@me.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-02-0711083 support NFS server in zoneEvan Layton2-2/+76
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com> Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com> Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Portions contributed by: Mike Zeller <mike@mikezeller.net> Portions contributed by: Dan McDonald <danmcd@joyent.com> Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com> Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Jason King <jbk@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-11-1411773 Need ways to override Domain Admins' full controlMatt Barden1-1/+33
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-11-1411039 All zfs/nfs/smb threads in door calls to idle idmapGordon Ross1-4/+49
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-10-1911834 SMB authentication service stops after floodGordon Ross1-3/+2
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Andy Stormont <AStormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2019-10-0911778 SMB server should report as a newer server versionAndrew Stormont1-1/+2
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Garrett D'Amore <gdamore@racktopsystems.com>
2019-09-0511603 smbadm has wrong exit code while listing SMB group propertiesYuri Pankov2-6/+4
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-08-2211033 It's time to require SMB signing by defaultGordon Ross1-5/+3
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-2211032 Time spent sharing SMB filesystems could be reduced by optimizing ↵Joyce McIntosh1-7/+13
smb_getdataset for default mount points Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Jean McCormack <jean.mccormack@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-1811031 SMB3 persistent handlesGordon Ross4-2/+129
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-1611528 Makefile.noget can get goneJohn Levon1-1/+1
11529 Use -Wno-maybe-initialized Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-08-1011029 smbadm man page needs updatingYuri Pankov1-40/+34
Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-1011027 method to delete local SMB usersMatt Barden1-5/+31
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-1011025 Disabling SMB server service does not change the sharestate of a smb ↵Evan Layton1-0/+2
share to offline Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-1011024 SMB should bypass ACL traverse checkingGordon Ross1-0/+2
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-08-1011023 SMB server min_protocol settingMatt Barden3-18/+12
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-07-3011430 smbsrv: NULL pointer errorsToomas Soome1-1/+1
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Gordon Ross <gwr@nexenta.com>
2019-07-30Backout: 11430 smbsrv: NULL pointer errors (Did not have RTI approval.)Dan McDonald1-1/+1
2019-07-3011430 smbsrv: NULL pointer errorsToomas Soome1-1/+1
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-07-1111227 smb code needs smatch fixesJohn Levon2-7/+10
Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-1011018 SMB3 EncryptionMatt Barden1-1/+3
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0811016 SMB2 oplock leasesGordon Ross36-2/+2145
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0711011 SMB2/3 durable handlesMatt Barden1-1/+1
Portions contributed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0711007 SMB3 signingMatt Barden3-4/+26
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-031841 SMB dtrace provider is incompleteGordon Ross6-17/+247
11180 SMB2 IOCTL FSCTL_LMR_REQUEST_RESILIENCY Returns Incorrect Response Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>