summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2010-07-15s3: Fix crashes in the printing codeVolker Lendecke1-0/+3
create_conn_struct did not create the conn->sconn!=NULL assumption we now depend on. Thanks to Andreas Schneider for testing!
2010-07-14s3:auth Change auth_ntlmssp_server_info API to return NTSTATUSAndrew Bartlett2-4/+5
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-07-14s3:smbd Give the kerberos session key a parentAndrew Bartlett1-0/+2
Nothing will free this, so this prevents a memory leak. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-07-14s3:smbd Fix segfault if register_existing_vuid() failsAndrew Bartlett1-4/+12
The register_existing_vuid() call will handle both the ntlmssp_end and vuid invalidation internally, so we don't want to do it again. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-07-13Revert "Remove the global char *LastDir."Jeremy Allison3-1/+22
Volker pointed out I'd missed the "last directory" cache part of this code. Return us to caching the directory we're in (reduces sys call load). Mea maxima culpa. Jeremy. This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871.
2010-07-09s3: Cleanup of the initial SMB2 counters patch.Ira Cooper1-89/+191
This reorganizes smbd_smb2_request_dispatch to have a central exit point, and use the normal profiling macros. Signed-off-by: Jeremy Allison <jra@samba.org>
2010-07-09s3: Optimize the write cache for sequential writesVolker Lendecke1-0/+20
In case of the one-byte allocating writes we don't work work optimally because we start the write cache at the current offset. This patch tries to avoid this case.
2010-07-08s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.Günther Deschner1-8/+8
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther
2010-07-07s3: Add SMB2 performance counters.Ira Cooper1-19/+58
A performance counter was added for every base type of SMB2 op.
2010-07-07s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd.Günther Deschner1-52/+29
Guenther
2010-07-06s3:smbd: Align change notify replies on 4-byte boundaryChere Zhou1-0/+10
MS-CIFS section 2.2.7.4.2 states this is mandatory. WinXP clients don't seem to care, but a Win7 client will send an immediate Close() to the directory handle when receiving an incorrectly aligned change notify response.
2010-07-05s3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from remove_pending_lock()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from fill_deferred_open_entry()Volker Lendecke2-6/+12
2010-07-05s3: Remove smbd_messaging_context() from shutdown_other_smbds()Volker Lendecke1-12/+19
2010-07-05s3: Remove smbd_messaging_context() from make_connection_snum()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reprocess_blocked_smb2_lock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from remove_pending_lock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from irix_oplocks_read_fde_handler()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from smb_set_posix_lock()Volker Lendecke1-2/+2
2010-07-05s3: Remove smbd_messaging_context() from linux_oplock_signal_handler()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from blocking_lock_cancel_smb1()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from process_blocking_lock_queue()Volker Lendecke1-2/+2
2010-07-05s3: Remove procid_self() from remove_pending_lock_requests_by_mid_smb1()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from cancel_pending_lock_requests_by_fid()Volker Lendecke1-1/+1
2010-07-05s3: Remove procid_self() from generic_blocking_lock_error()Volker Lendecke1-1/+2
2010-07-05s3: Remove procid_self() from push_blocking_lock_request()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from blocking_lock_cancel_smb1()Volker Lendecke1-2/+2
2010-07-05s3: Remove smbd_messaging_context() from process_trans2()Volker Lendecke1-1/+2
2010-07-05s3: Remove smbd_messaging_context() from process_lockingX()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lockingX_error()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from push_blocking_lock_request()Volker Lendecke1-2/+2
2010-07-05s3: Remove smbd_messaging_context() from contend_level2_oplocks_begin_default()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_to_oplock_break_requests()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from smbd_do_locking()Volker Lendecke1-3/+3
2010-07-05s3: Remove smbd_messaging_context() from rename_open_files()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_unlock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_writeunlock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lockread()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from send_break_message()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from exit_server_common()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from close_normal_file()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from notify_deferred_opens()Volker Lendecke1-4/+5
2010-07-05s3: Remove procid_self() from make_connection_snum()Volker Lendecke1-1/+2
2010-07-05s3: Remove procid_self() from claim_connection()Volker Lendecke1-1/+2
2010-07-05s3: Remove NULL checks from claim_connection()Volker Lendecke1-7/+5
Nowadays this is only called from make_connection_snum() where we always provide a connection_struct.
2010-07-05s3: Remove procid_self() from push_blocking_lock_request_smb2()Volker Lendecke1-2/+2
2010-07-05s3: Remove procid_self() from reply_negprot()Volker Lendecke1-1/+1