Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-08 | s3:smb2_sesssetup: remove TALLOC_FREE(session) from ↵ | Stefan Metzmacher | 1 | -9/+0 | |
smbd_smb2_[re]auth_generic_return The caller does this via the smbd_smb2_session_setup_state_destructor() metze | |||||
2012-08-08 | s3:smb2_server: sign the last request at the start of smbd_smb2_request_reply() | Stefan Metzmacher | 1 | -22/+16 | |
This means we correctly sign all responses in a compound chain. metze | |||||
2012-08-08 | s3: Fix a crash in reply_lockingX_error | Volker Lendecke | 1 | -4/+11 | |
A timed brlock with 2 locks comes in and the second one blocks, file is closed. smbd_cancel_pending_lock_requests_by_fid sets blr->fsp to NULL. reply_lockingX_error (called via MSG_SMB_BLOCKING_LOCK_CANCEL) deferences blr->fsp because blr->lock_num==1 (the second one blocked). This patch fixes the bug by only undoing the locks if fsp!=NULL. fsp==NULL is the close case where everything is undone anyway. Thanks to Peter Somogyi, somogyi@hu.ibm.com for this bug report. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Aug 8 04:12:04 CEST 2012 on sn-devel-104 | |||||
2012-08-07 | s3:smb2_server: fix SMB2 signing of compound responses | Stefan Metzmacher | 2 | -13/+78 | |
We need to defer the signing until we know the response doesn't change anymore before it goes over the wire. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Aug 7 20:29:30 CEST 2012 on sn-devel-104 | |||||
2012-08-07 | s3:smb2_server: there's no need to copy req->out.vector when we just keep ↵ | Stefan Metzmacher | 1 | -22/+5 | |
the last request metze | |||||
2012-08-07 | s3:smb2_server: use memmove instead of copying single vector elements | Stefan Metzmacher | 1 | -6/+7 | |
metze | |||||
2012-08-07 | s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() ↵ | Stefan Metzmacher | 1 | -1/+1 | |
smbd_smb2_request_pending_queue() metze | |||||
2012-08-07 | s3:smb2_server: check for compound based on SMBD_SMB2_NUM_IOV_PER_REQ | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-08-07 | s3:smb2_server: make use of SMBD_SMB2_OUT_*_IOV smbd_smb2_request_reply() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2012-08-07 | s3:smb2_server: check for compound based on SMBD_SMB2_NUM_IOV_PER_REQ | Stefan Metzmacher | 1 | -4/+3 | |
metze | |||||
2012-08-07 | s3:smb2_server: make use of SMBD_SMB2_*_IOV_OFS | Stefan Metzmacher | 1 | -15/+20 | |
metze | |||||
2012-08-07 | s3:smb2_server: make use of helper macros in smb2_calculate_credits() | Stefan Metzmacher | 1 | -4/+6 | |
metze | |||||
2012-08-07 | s3:smb2_server: make use of helper macros in smbd_smb2_request_validate() | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2012-08-07 | s3:smb2_server: make use of SMBD_SMB2_NUM_IOV_PER_REQ | Stefan Metzmacher | 1 | -17/+20 | |
metze | |||||
2012-08-07 | s3:smb2_server: add some more SMBD_SMB2_* defines/macros | Stefan Metzmacher | 1 | -6/+22 | |
metze | |||||
2012-08-07 | source3/smbd/conn.c: wean off string_set/string_free | Rusty Russell | 2 | -11/+8 | |
Use straight talloc strings. This is the only user outside loadparm.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2012-08-07 | s3:smb2_server: do one central as_root check if the operation requires it | Stefan Metzmacher | 1 | -30/+6 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Aug 7 13:14:38 CEST 2012 on sn-devel-104 | |||||
2012-08-07 | s3:smb2_server: do one central tcon check if the operation requires it | Stefan Metzmacher | 1 | -160/+15 | |
metze | |||||
2012-08-07 | s3:smb2_server: do one central session check if the operation requires it | Stefan Metzmacher | 1 | -66/+6 | |
metze | |||||
2012-08-07 | s3:smb2_server: add and use smbd_smb2_call() | Stefan Metzmacher | 1 | -0/+21 | |
metze | |||||
2012-08-07 | s3:smb2_server: add .as_root to smbd_smb2_dispatch_table | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2012-08-07 | s3:smb2_server: add .need_tcon to smbd_smb2_dispatch_table | Stefan Metzmacher | 1 | -0/+14 | |
metze | |||||
2012-08-07 | s3:smb2_server: add .need_session to smbd_smb2_dispatch_table | Stefan Metzmacher | 1 | -0/+16 | |
metze | |||||
2012-08-07 | s3:smb2_server: introduce a smbd_smb2_dispatch_table (for now just with names) | Stefan Metzmacher | 1 | -22/+46 | |
metze | |||||
2012-08-07 | s3:smb2_server: move 'conn' to main block of smbd_smb2_request_dispatch() | Stefan Metzmacher | 1 | -3/+2 | |
metze | |||||
2012-08-07 | s3-pysmbd: Try opening as a file, then as a directory | Andrew Bartlett | 1 | -2/+2 | |
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 7 08:59:21 CEST 2012 on sn-devel-104 | |||||
2012-08-07 | s3-pysmbd: Use talloc_zero() | Andrew Bartlett | 1 | -1/+1 | |
This avoids operating on uninitialised data Andrew Bartlett | |||||
2012-08-07 | s3-pysmbd: Add talloc_stackframe() to smbd_set_simple_acl wrapper | Andrew Bartlett | 1 | -0/+6 | |
2012-08-06 | s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵ | Stefan Metzmacher | 2 | -261/+80 | |
smbd_smb2_request_read*() This changes the way we read SMB2 traffic from the socket, now as create just one large buffer for the whole NBT payload and then split it into iovec elements in smbd_smb2_inbuf_parse_compound() metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 6 21:54:35 CEST 2012 on sn-devel-104 | |||||
2012-08-06 | s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵ | Stefan Metzmacher | 1 | -28/+15 | |
smbd_smb2_request_create() metze | |||||
2012-08-06 | s3:smb2_server: remove const from smbd_smb2_first_negprot() | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2012-08-06 | s3:smb2_server: add smbd_smb2_inbuf_parse_compound() | Stefan Metzmacher | 1 | -0/+104 | |
metze | |||||
2012-08-05 | s3:smbd: remove unused variable in sesssetup.c | Stefan Metzmacher | 1 | -1/+0 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Aug 5 23:09:06 CEST 2012 on sn-devel-104 | |||||
2012-08-05 | s3:smb2_server: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -20/+12 | |
metze | |||||
2012-08-05 | s3:smb2_ioctl: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -8/+6 | |
metze | |||||
2012-08-05 | s3:smb2_lock: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -10/+7 | |
metze | |||||
2012-08-05 | s3:smb2_setinfo: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -5/+4 | |
metze | |||||
2012-08-05 | s3:smb2_getinfo: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -5/+4 | |
metze | |||||
2012-08-05 | s3:smb2_negprot: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -4/+3 | |
metze | |||||
2012-08-05 | s3:smb2_write: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -5/+4 | |
metze | |||||
2012-08-05 | s3:smb2_tcon: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -7/+5 | |
metze | |||||
2012-08-05 | s3:smb2_create: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -5/+4 | |
metze | |||||
2012-08-05 | s3:smb2_find: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -5/+4 | |
metze | |||||
2012-08-05 | s3:smb2_sesssetup: make use of SMBD_SMB2_* macros | Stefan Metzmacher | 1 | -8/+6 | |
metze | |||||
2012-08-05 | s3:smb2_glue: make use of SMBD_SMB2_IN_HDR_PTR() | Stefan Metzmacher | 1 | -4/+1 | |
metze | |||||
2012-08-05 | s3:smb2_read: make use of SMBD_SMB2_IN_BODY_PTR() | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2012-08-05 | s3:smb2_notify: make use of SMBD_SMB2_IN_*_PTR() | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2012-08-05 | s3:smb2_flush: make use of SMBD_SMB2_IN_BODY_PTR() | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2012-08-05 | s3:smb2_close: make use of SMBD_SMB2_IN_BODY_PTR() | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2012-08-05 | s3:smb2_break: make use of SMBD_SMB2_IN_BODY_PTR() | Stefan Metzmacher | 1 | -4/+2 | |
metze |