1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/smbd
Jeremy Allison af44593555 (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client
It turns out that the persistent handles are used by the Microsoft
redirector to index files on oplock break requests. So even if we
don't do durable handles (yet) we must set the persistent handle
on create. For now just use the same handle value as we use for
volatile.

Jeremy.
2010-05-19 19:28:26 -07:00
..
aio.c This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. 2010-05-07 06:20:50 -07:00
avahi_register.c Use avahi to register _smb._tcp in smbd 2009-03-23 17:09:53 +01:00
blocking.c This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. 2010-05-07 06:20:50 -07:00
change_trust_pw.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
chgpasswd.c s3-crypto: only include crypto headers when crypto is done. 2010-05-18 00:44:27 +02:00
close.c Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-). 2010-05-07 01:20:26 -07:00
conn.c When tearing down the connection make sure we close all files before 2010-05-07 06:54:16 -07:00
connection.c s3: Remove unused "mypid" from count_current_connections() state 2010-03-01 12:18:12 +01:00
dfree.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
dir.c s3: Simplify (bool != True) to !bool 2010-04-24 10:50:12 +02:00
dmapi.c s3:smbd: fix the build with dmapi support 2009-01-08 16:24:28 +01:00
dnsregister.c s3:smbd: make mdns registration event driven. 2009-01-27 15:28:11 +01:00
dosmode.c s3: Remove use of iconv_convenience. 2010-05-18 11:45:31 +02:00
error.c Rename reply_doserror() -> reply_force_doserror(). 2009-12-21 11:16:38 -08:00
fake_file.c Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown when logged as root.. Doh ! 2010-02-01 15:57:16 -08:00
file_access.c Switch over to using get_currect_XXX() accessor functions. 2010-03-15 14:49:15 -07:00
fileio.c smbd: move printfile_offset() within write_file() 2010-04-30 11:52:39 -07:00
filename_util.c s3: Remove debug_ctx() 2009-11-03 11:30:00 +01:00
filename.c Fix bug #7339 - MSDFS is non-functional in 3.5.x 2010-04-08 20:32:36 -07:00
files.c s3-smbd: group print relate data in own structure 2010-04-23 14:26:33 -07:00
globals.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
globals.h (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
ipc.c Fix bug #7122 - Reading a large browselist fails (server returns invalid values in subsequent SMBtrans replies) 2010-02-09 15:14:38 -08:00
lanman.c s3-rpc_client: move protos to init_spoolss.h 2010-05-18 21:42:48 +02:00
mangle_hash2.c Make us pass SHORTNAME-TEST. 2009-05-14 16:49:18 -07:00
mangle_hash.c Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised value(s) error when "mangling method = hash" 2010-02-18 12:21:10 -08:00
mangle.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
map_username.c s3: Cache the username map in gencache 2010-04-13 09:30:06 +02:00
message.c s3: Protect against an invalid bcc in SMBsendtxt 2010-01-17 17:26:39 +01:00
msdfs.c Fix bug #7339 - MSDFS is non-functional in 3.5.x 2010-04-08 20:32:36 -07:00
negprot.c s3: Fix a long-standing problem with recycled PIDs 2010-03-10 16:07:10 +01:00
noquotas.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
notify_inotify.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
notify_internal.c s3: Remove use of iconv_convenience. 2010-05-18 11:45:31 +02:00
notify.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
ntquotas.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
nttrans.c Implement missing info level SMB_FILE_LINK_INFORMATION. 2010-05-18 18:34:54 -07:00
open.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
oplock_irix.c s3: Change fsp->fsp_name to be an smb_filename struct! 2009-07-20 17:26:56 -07:00
oplock_linux.c Hopefully last part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks. 2009-09-03 07:40:48 -07:00
oplock_onefs.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
oplock.c Be more forgiving on client oplock break failure (as Windows does). Remove a global. 2010-05-13 11:33:02 -07:00
password.c Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code. 2010-05-17 18:22:19 -07:00
perfcount.c S3: Dumb down debug spew in perfcount module code 2009-02-19 00:01:41 -08:00
pipes.c s3:smbd: make fsp->fake_file_handle a talloc child of fsp 2010-04-28 15:46:58 +02:00
posix_acls.c s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". 2010-05-18 12:30:12 +02:00
process.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
quotas.c s3: Fix a very embarrassing build failure 2009-12-12 16:57:49 +01:00
reply.c This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. 2010-05-07 06:20:50 -07:00
seal.c s3:ntlmssp: only include ntlmssp.h where actually needed 2009-12-22 21:07:53 +01:00
sec_ctx.c s3:smbd: move all globals and static variables in globals.[ch] 2009-01-08 12:22:21 +01:00
server.c s3-registry: only include registry headers when really needed. 2010-05-18 01:15:38 +02:00
service.c Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined. 2010-03-25 17:09:23 -07:00
session.c s3: Abstract access to sessionid.tdb, similar to conn_tdb.c 2010-03-01 17:53:22 +01:00
sesssetup.c s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA 2010-05-11 22:52:37 +02:00
share_access.c Fix coverity CID: 932 - forward null. 2009-08-21 16:17:17 -07:00
signing.c s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there 2010-03-29 07:26:00 +02:00
smb2_break.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_close.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_create.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_find.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_flush.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_getinfo.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_glue.c Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2. 2010-04-22 23:52:19 -07:00
smb2_ioctl.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_keepalive.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_lock.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_negprot.c Parameterize "smb2 max read", "smb2 max write", "smb2 max trans". 2010-04-06 15:43:35 -07:00
smb2_notify.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_read.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_server.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_sesssetup.c Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code. 2010-05-17 18:22:19 -07:00
smb2_setinfo.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
smb2_signing.c libcli: move some common SMB and SMB2 stuff into libcli/smb/ 2009-08-12 18:28:32 +02:00
smb2_tcon.c When tearing down the connection make sure we close all files before 2010-05-07 06:54:16 -07:00
smb2_write.c (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client 2010-05-19 19:28:26 -07:00
srvstr.c Solve some of the conflict between Samba3 and Samba4 push_string 2009-04-14 12:11:00 +10:00
statcache.c s3: only include gen_ndr headers where needed. 2010-05-06 00:22:59 +02:00
statvfs.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
trans2.c Implement missing info level SMB_FILE_LINK_INFORMATION. 2010-05-18 18:34:54 -07:00
uid.c Remove the bool admin_user from conn struct. We no longer look at this to make access decisions. 2010-03-15 15:39:41 -07:00
utmp.c s3:smbd: make globals in utmp.c static const 2009-01-08 12:22:18 +01:00
vfs.c s3: Fix typos in a debug message in vfs_init_custom 2010-03-28 15:25:14 +02:00