summaryrefslogtreecommitdiff
path: root/usr/src/lib/smbsrv/libsmb/common
AgeCommit message (Collapse)AuthorFilesLines
2022-12-1615258 libsmb: tautological-pointer-compareToomas Soome1-1/+1
Reviewed by: Dan Cross <cross@oxidecomputer.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-11-0915108 SMB option to enable short namesGordon Ross4-4/+10
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-0415084 SMBD leaks memory during startup/refreshMatt Barden1-6/+6
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Reviewed by: Marco van Wieringen <mvw@planets.elm.net> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-0515030 AD join should allow specifying container OUGordon Ross2-4/+9
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-2814998 smbd domain cache brokenGordon Ross1-3/+10
Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-09-2615001 Unable to set smb property max_protocol to 3.1.1 or emptyGordon Ross3-150/+12
Reviewed-by: Jerry Jelinek <gjelinek@racktopsystems.com> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed-by: Jim Johnson <jjohnson@racktopsystems.com> Reviewed by: Joyce McIntosh <jmcintosh@racktopsystems.com> Reviewed by: Matt Barden <mbarden@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-01-2313914 smbd encrypt_cipher property should list enabled ciphers explicitlyAlexander Stetsenko1-11/+30
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-01-3013169 CVE-2020-1472 (ZeroLogon) and SMB authenticationMatt Barden4-4/+22
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/+2
Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-07-1012513 SMB 3.1.1 support for serverAlexander Stetsenko4-1/+49
Reviewed by: Matt Barden <mbarden@tintri.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2019-11-1411853 Administrators should have Backup and Restore privileges by defaultMatt Barden1-1/+3
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-1411773 Need ways to override Domain Admins' full controlMatt Barden1-1/+7
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 Ross3-5/+39
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-08-2211035 Minimal SMB 3.0.2 supportMatt Barden1-2/+3
Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Evan Layton <evan.layton@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 McIntosh2-7/+36
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-1011028 Need a way to add local user/group ACE from WindowsMatt Barden2-1/+3
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-1011027 method to delete local SMB usersMatt Barden2-0/+7
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-1011026 Windows usernames should be treated as case insensitiveMatt Barden1-6/+6
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-1011024 SMB should bypass ACL traverse checkingGordon Ross2-0/+3
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 Barden4-24/+83
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-0111172 smbsrv: NULL pointer errorsToomas Soome1-2/+2
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-06-1011019 Enable SMB3 server by defaultMatt Barden1-3/+6
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-06-1011018 SMB3 EncryptionMatt Barden5-36/+85
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-0611005 ads_site broken in sharectl get/set smbGordon Ross1-2/+33
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-06-0310999 Misc. SMB changes missed in prior upstreamsGordon Ross1-0/+1
Reviewed by: Matt Barden <matt.barden@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-06-037587 SMB should support enhanced UnicodeGordon Ross1-0/+2
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-06-0310997 Incorrect directory listing response for non-UNICODE clientsGordon Ross1-2/+0
Reviewed by: Matt Barden <Matt.Barden@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-06-0110992 SMB logon should tolerate idmap problemsGordon Ross1-13/+43
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-05-2810981 Can't remove the Domain Admin from the local administrators groupGordon Ross1-2/+11
Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman1-31/+0
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-209873 SMB logon fails during 1st second after service startGordon Ross3-17/+84
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-199881 smbd terminated by SIGABRT after smb_account_free()Vitaliy Gusev1-2/+6
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-04-041575 untangle libmlrpc from SMB serverGordon Ross2-4/+5
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-269172 smbsrv/libsmb: this statement may fall throughToomas Soome1-0/+1
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Gordon Ross <gwr@nexenta.com>
2017-09-288662 SMB server ioctls should be appropriately sized.Gordon Ross1-1/+1
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Albert Lee <trisk@forkgnu.org>
2016-04-045868 Make checks in inet_matchaddr() more robustYuri Pankov1-2/+2
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
2015-11-066399 SMB2 supportGordon Ross6-15/+315
Portions contributed by: Alek Pinchuk <alek@nexenta.com> Portions contributed by: Kevin Crowe <kevin.crowe@nexenta.com> Portions contributed by: Matt Barden <Matt.Barden@nexenta.com> Reviewed by: Alek Pinchuk <alek@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Daniel Borek <daniel.borek@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Yuri Pankov <Yuri.Pankov@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2015-10-266352 Updated DC locator for SMB and idmapGordon Ross5-34/+116
Portions contributed by: Matt Barden <Matt.Barden@nexenta.com> Portions contributed by: Kevin Crowe <kevin.crowe@nexenta.com> Portions contributed by: Alek Pinchuk <alek@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Tony Nguyen <tony.nguyen@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-10-261122 smbsrv should use SPNEGO (inbound authentication)Gordon Ross8-394/+228
Portions contributed by: Matt Barden <Matt.Barden@nexenta.com> Portions contributed by: Kevin Crowe <kevin.crowe@nexenta.com> Portions contributed by: Alek Pinchuk <alek@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <Matt.Barden@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-06-045917 User-mode SMB serverGordon Ross12-290/+222
Authored by: Thomas Keiser <thomas.keiser@nexenta.com> Authored by: Albert Lee <trisk@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-06-045921 Want a netbios_enable parameter in sharectl_smbGordon Ross4-4/+9
Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-05-315916 make libsqlite a real shared libGordon Ross3-7/+8
Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Garrett D'Amore <garrett@damore.org>
2014-11-185316 allow smbadm join to use RPCGordon Ross6-245/+187
Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-11-125308 Unable to join AD domain (with NtlmMinSeverSec set in the registry)Gordon Ross1-2/+1
Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2013-09-134078 groupadd execs getent unnecessarilyAndy Stormont1-68/+5
4127 dmake setup could create /etc/skel Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-01-28604 CIFS server should traverse child mount pointsAram Hăvărneanu4-3/+7
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-09-271930 smb_match functions incorrectly handle multibyte charactersGordon Ross1-2/+1
1931 smb_convert_wildcards incorrectly expands < at the end of the pattern Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-12-201863 gcc compiled libsmb coredumps in trim_whitespaceYuri Pankov1-3/+8
1866 libsmbns is passing constant string to mktemp(3C) 1867 mktemp(3) gives bad advice in EXAMPLES section Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Albert Lee <trisk@nexenta.com>
2011-11-081526 should allow domain groups as member of local groupsGordon Ross2-26/+111
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-11-03877 share_nfs cannot share to IPv6 subnetsYuri Pankov1-150/+99
1554 SMB has no concept of IPv6 host access lists 1592 NFS access checks shouldn't fail if client address can't be resolved Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>