History log of /illumos-gate/usr/src/uts/common/fs/smbsrv/smb_lock.c
Revision Date Author Comments
94047d49916b669576decf2f622a1ee718646882 21-Jul-2017 Gordon Ross <gwr@nexenta.com> 11016 SMB2 oplock leases
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>
811599a462e8920d70cf548f4002182d3c222d13 26-Feb-2016 Matt Barden <matt.barden@nexenta.com> 11011 SMB2/3 durable handles
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>
0897f7fbb62326e60e858c62a1654b2ca3e2667e 16-Apr-2016 Gordon Ross <gwr@nexenta.com> 10980 Should pass the smbtorture lock tests
Portions contributed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Approved by: Dan McDonald <danmcd@joyent.com>
5677e04907859594bfe1a95ba3bfdb1629b89dac 09-Sep-2015 Gordon Ross <gwr@nexenta.com> 10978 improve smb cancel support
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Approved by: Dan McDonald <danmcd@joyent.com>
a90cf9f29973990687fa61de9f1f6ea22e924e40 26-Jun-2013 Gordon Ross <gwr@nexenta.com> 6399 SMB2 support
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>
b819cea2f73f98c5662230cc9affc8cc84f77fcf 17-Jun-2013 Gordon Ross <gwr@nexenta.com> 5917 User-mode SMB server
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>
8622ec4569457733001d4982ef7f5b44427069be 07-Dec-2011 Gordon Ross <gwr@nexenta.com> 1527 SMB server in non-global zones
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
bc7c423f80bd757204d3b17cfd74585ae5b30ed8 31-Aug-2013 Gordon Ross <gwr@nexenta.com> 5319 smb_oplock_acquire thread deadlock
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Sarah Jelinek <Sarah.Jelinek@nexenta.com>
Reviewed by: Jeffry Molanus <jeffry.molanus@nexenta.com>
Approved by: Robert Mustacchi <rm@joyent.com>
cb174861876aea6950a7ab4ce944aff84b1914cd 22-Jul-2010 joyce mcintosh <Joyce.McIntosh@Sun.COM> 6957935 Only one standalone DFS namespace should be cached
6958322 Should allow setting and returning target priority info for DFS root target
6955030 assertion failed in thread_join() from smb_server_delete()
6950891 No "no matching rule" trace point for pid->sid
6957520 Sparc - System panics when running smbstat
6950103 Failed to open group database due to too many open files
6961197 SAMR requests failed due to context mismatch
6960835 Need to pass the share type to smbsrv
6952831 SMB level II oplocks
6955337 "Found in AD" tracepoint bogus for U->W with directory-based mapping
6960038 CIFS file ownership problem
6915527 libidmap should not export memdup()
6960283 Windows client dir /R option not listing NTFS named stream
6808472 SMB name space caching on clients
6966183 SMB/CIFS print service CUPS support
6966490 Validation support for NetrDfsSetInfo method, level 105
6962887 Restore kstats for SMB commands
6969600 ::smblist -r[v] crashed mdb
6968451 panic: smbsrv:smb_odir_open
6957572 Cifs server panics at ffffff000c895ad0 smbsrv:smb_user_delete+82 () with smbtorture test.

--HG--
rename : usr/src/lib/libidmap/common/idmap_priv.h => usr/src/cmd/idmap/idmap/namemaps.h
rename : usr/src/lib/libidmap/common/miscutils.c => usr/src/lib/libuutil/common/uu_string.c
148c5f43199ca0b43fc8e3b643aab11cd66ea327 27-May-2010 Alan Wright <amw@Sun.COM> 6935899 Add AD connectivity diagnostics
PSARC 2010/120 SMB/CIFS Statistics
6893904 The statistics of the CIFS server must be improved
6947373 only calculate pathname for query fileinfo levels which require it
PSARC 2010/097 idmap: default unresolvable SID mapping to true
6864900 Enable unresolvable SID mapping by default
6923504 Need detailed tracing for idmap mapping requests
6928157 Need detailed tracing for idmap discovery operations
6949333 Panic in smb_pre_open_print_file
6795069 Commonize error codes between CIFS client and server
6941787 Spurious message "DC discovery failed" upon refresh
6941349 Update shortname support to remove name83 format
6941382 smbsrv should use smb_node_getpath functions instead of vnodetopath
6939494 smb_authenticate() doesn't check for smb_user_login() return
6944226 Need to keep the list of shares in smbsrv
6942697 open file lock count is incorrect on MMC
6941227 On addition of SMB local group, add corresponding POSIX group
6948109 Add ability to manage shares in ZFS group via Windows MMC
6948143 Add ability to set additional properties on Autohome shares
6903260 two "ID type" enumerations
6946940 smb_sid_tostr/fromstr input arguments should be const
6949088 CIFS continuously refresh when one of the interfaces won't properly initialize
6946075 Filebench IO errors when signing property enabled on Solaris CIFS Server
6951169 idmap reports "no such file or directory" when looking up krb5.conf, even when not a domain member
6813063 degraded operation message should occur only when appropriate
6644872 idmapd is too whiny in workgroup mode
6813268 idmapd bangs on DNS server when in workgroup mode
6883800 Trusted domain members won't map to a UID when the trust is one-way
6891704 Cross-forest trust discovery may not work in multi-domain forest
6933937 idmapd doesn't map out trusted domains properly when joined to a domain that isn't the forest root.
6923908 smbadm join CLI doesn't always report Kerberos change password failure
6926930 smbsrv libraries should use krb5_get_error_messsage()
6943528 Unable to update Windows 2008 dynamic dns record with cifs hostname > 15 characters.
6953259 Can't map remote-forest users when IDMU is enabled
6953688 Should allow only one standalone DFS namespace in a cluster system
6952292 smb_find_ads_server() deferences string one too many times
6950070 Share is not getting correct access based on host access control list
6950820 Host-based access control list does not work properly with ipv6_enable=true

--HG--
rename : usr/src/lib/libidmap/common/idmap_priv.h => usr/src/cmd/idmap/idmap/namemaps.h
rename : usr/src/lib/smbsrv/libsmb/common/smb_nicmon.c => usr/src/cmd/smbsrv/smbd/smbd_nicmon.c
rename : usr/src/lib/smbsrv/libmlsvc/common/eventlog_syslog.c => usr/src/lib/smbsrv/libmlsvc/common/eventlog_log.c
rename : usr/src/common/smbsrv/smb_status_xlat.c => usr/src/lib/smbsrv/libsmb/common/smb_status_tbl.c
rename : usr/src/uts/common/smbsrv/doserror.h => usr/src/uts/common/smb/doserror.h
rename : usr/src/uts/common/smbsrv/lmerr.h => usr/src/uts/common/smb/lmerr.h
rename : usr/src/uts/common/smbsrv/nterror.h => usr/src/uts/common/smb/nterror.h
rename : usr/src/uts/common/smbsrv/ntstatus.h => usr/src/uts/common/smb/ntstatus.h
d3d50737e566cade9a08d73d2af95105ac7cd960 13-Nov-2009 Rafael Vanoni <rafael.vanoni@sun.com> PSARC/2009/396 Tickless Kernel Architecture / lbolt decoupling
6860030 tickless clock requires a clock() decoupled lbolt / lbolt64
Portions contributed by Chad Mynhier <cmynhier@gmail.com>
bbf6f00c25b6a2bed23c35eac6d62998ecdb338c 05-Nov-2009 Jordan Brown <Jordan.Brown@Sun.COM> 6747532 ns_lookup_bypid spams syslog with too many messages
6888836 Not listing all files in a directory of a CIFS share in Windows XP
6812570 Trans2 is missing pass-through levels: FILE_RENAME_INFORMATION (and others)
6888827 Add Unicode codepage support
6865488 libadutils: leak in ldap_lookup_domains_in_forest()
6888708 idmapd crashing periodically. Need cores analyzed.
6891342 invalid, redundant SQL in rule WHERE expressions
6891767 minor cleanups in idmap
6892544 Panic occurred at smb_node_ref+0x7f(ffffffd612297310)

--HG--
rename : usr/src/uts/common/smbsrv/cifs.h => usr/src/uts/common/smbsrv/smb.h
1fcced4c370617db71610fecffd5451a5894ca5e 18-Jul-2009 Jordan Brown <Jordan.Brown@Sun.COM> 6582152 MMC remote service management support
6816841 name <-> SID interfaces
6843330 Create interposer library for SVCCTL and LOGR functionality.
6856791 Files dropped from large directory listing with long filenames
6859346 Query File Information errors when querying a named pipe
6860126 name<->SID interfaces use unacceptable style
037cac007b685e7ea79f6ef7e8e62bfd342a4d56 30-Jun-2009 joyce mcintosh <Joyce.McIntosh@Sun.COM> 6853206 zfs set sharesmb=off fails to unshare the dataset
6830187 False message when saving a Excel 2003 file
6576380 Win98: Attributes Read-only, Hidden, and Archive cannot be unchecked once it is set
6819639 Can't unmount zfs file system after CIFS server connects to a share
6854186 SMB Query File Information level ALT_NAME_INFO returns incorrect name and namelen.
6854769 SVCCTL does not support SMF service list when using Delphi applications
6850508 Unable to join Windows 2008 domain (SP2 or later)
eb1d736b1c19f6abeee90c921a9320b67fedd016 11-Apr-2009 afshin salek ardakani - Sun Microsystems - Irvine United States <Afshin.Ardakani@Sun.COM> 6817902 Join domain fails intermittently while running regression test
6818984 avscan + cifs is broken : cifs IO fails and vscan temp hangs when accessing files to be scanned
6761634 When NT4 client copies a file with NTFS named streams, NTFS named streams not copied
6642756 Cannot create the file with NTFS-stream at the same time
6826307 Cleanup structures names in srvsvc.ndl
6827463 odir operations don't use the right cred when user has privilege
6827904 Can't map a share from windows 98 client
6828532 Cleanup smb_fqi_t structure
6828595 Cannot rename a file from Windows 98 clients
2c2961f8403049d948b9f3e6c35d6488b6b7e1aa 28-Feb-2009 jose borrego <Jose.Borrego@Sun.COM> 6709704 smbtorture RAW-BENCH-OPLOCK test fails (when oplocks enabled)
6800443 ReadX and WriteX should support CAP_LARGE_READX and CAP_LARGE_WRITEX

--HG--
rename : usr/src/uts/common/fs/smbsrv/smb_create_directory.c => usr/src/uts/common/fs/smbsrv/smb_directory.c
c8ec8eea9849cac239663c46be8a7f5d2ba7ca00 17-Aug-2008 jose borrego <Jose.Borrego@Sun.COM> 6584155 Confusing 'No such object' message is logged when a share is successfully published.
6591393 Unable to join domain when primary W2K3 DC is offline
6600712 Need to know which domain controller is being used
6613364 smb_fsd.c and smb_vfs.c should be merged
6614925 Same share publishing request has somehow been added to the publish queue twice.
6631295 MS word read only file will get deleted if attempting to overwrite it.
6643263 set attributes atomically with create in smb_open_subr()
6691539 Doesn't recognize pre-created computer account in OU other than the default Computers container
6692877 Fails to delete a readonly file on win98 with "Access is denied." error
6705276 server signing does not work in domain mode with ntlmv1
6705849 SMB server-side signing : Unsigned share request successful when signing required
6708014 The state of smbstat should be displayed in non-numerical format
6709693 Look and feel at the confirmation prompt when switching to a different domain
6716855 Unable to create user roaming profile on CIFS share.
6716931 false lock conflicts when a volume mounted with nbmand option
6723650 ACL handling code needs update due to 6699852
6727937 smb/server enters maintenance state with no active non-loopback interfaces
6728049 Incorrect timezone offset in negotiate response and incorrect timestamp in directory search
6728068 Problem mapping autohome shares due to lack of permission
6729725 Incorrect filenames returned by TRANS2_FIND and TRANS2_QUERY_PATH_INFO
6731101 Should not need to restart smb/server after switching the security mode
6730764 Syslog displays error "failed to lookup (near "(": syntax error)" when adding local group to ACL
6731874 smb_delete returns wrong NT_STATUS_XXX codes for invalid paths
6731877 smbtorture RAW-SEARCH fails for smb_search/find/find_unique
6732277 Misleading error message when failed to delete a folder
6735529 Incorrect timestamp values - SMB_TRANS2_SET_INFORMATION

--HG--
rename : usr/src/uts/common/fs/smbsrv/smb_lock_svc.c => usr/src/uts/common/fs/smbsrv/smb_lock.c