summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-08-08vfs_afsacl.c: Remove some unnecessary return; statementsBjörn Jacke1-5/+0
2012-08-08vfs_full_audit: Remove some unnecessary return; statementsBjörn Jacke1-9/+0
2012-08-08vfs_time_audit: Remove unnecessary return; statementBjörn Jacke1-2/+0
2012-08-08vfs_time_audit: Remove some unnecessary return; statementsBjörn Jacke1-7/+0
2012-08-08vfs-mediaharmony: Remove some unnecessary return; statementsVolker Lendecke1-3/+0
2012-08-07vfs_media_harmony: fix return of voidBjörn Jacke1-3/+6
caught by the Studio Compiler Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Aug 7 22:22:48 CEST 2012 on sn-devel-104
2012-08-07s3:smb2_server: fix SMB2 signing of compound responsesStefan Metzmacher2-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-07s3:smb2_server: there's no need to copy req->out.vector when we just keep ↵Stefan Metzmacher1-22/+5
the last request metze
2012-08-07s3:smb2_server: use memmove instead of copying single vector elementsStefan Metzmacher1-6/+7
metze
2012-08-07s3:smb2_server: make use of SMBD_SMB2_OUT_HDR_PTR() ↵Stefan Metzmacher1-1/+1
smbd_smb2_request_pending_queue() metze
2012-08-07s3:smb2_server: check for compound based on SMBD_SMB2_NUM_IOV_PER_REQStefan Metzmacher1-1/+1
metze
2012-08-07s3:smb2_server: make use of SMBD_SMB2_OUT_*_IOV smbd_smb2_request_reply()Stefan Metzmacher1-4/+4
metze
2012-08-07s3:smb2_server: check for compound based on SMBD_SMB2_NUM_IOV_PER_REQStefan Metzmacher1-4/+3
metze
2012-08-07s3:smb2_server: make use of SMBD_SMB2_*_IOV_OFSStefan Metzmacher1-15/+20
metze
2012-08-07s3:smb2_server: make use of helper macros in smb2_calculate_credits()Stefan Metzmacher1-4/+6
metze
2012-08-07s3:smb2_server: make use of helper macros in smbd_smb2_request_validate()Stefan Metzmacher1-3/+5
metze
2012-08-07s3:smb2_server: make use of SMBD_SMB2_NUM_IOV_PER_REQStefan Metzmacher1-17/+20
metze
2012-08-07s3:smb2_server: add some more SMBD_SMB2_* defines/macrosStefan Metzmacher1-6/+22
metze
2012-08-07s3-param: Remove never-reached condition for popts == NULLAndrew Bartlett1-4/+0
All the callers provide a parametric options pointer to fill in. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 7 17:16:38 CEST 2012 on sn-devel-104
2012-08-07s3-param: Remove never-reached condition for opt_list == NULLAndrew Bartlett1-4/+0
All the callers provide a parametric options pointer to fill in. Andrew Bartlett
2012-08-07source3/loadparm.c: Move string_set/string_free inside.Rusty Russell5-81/+54
The only user, so make them static inside loadparm.c Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-07source3/smbd/conn.c: wean off string_set/string_freeRusty Russell2-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-07source3/loadparm: make struct loadparm_service a talloc object.Rusty Russell1-1/+2
This gives us a place to allocate members from. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-07loadparm: Add ctx member to struct loadparm_global.Rusty Russell2-1/+6
Rather than tallocing global parameters off NULL, keep it neat by having a Global.ctx member. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-07media_harmony VFS module: Add and build by default.Andrew Klaassen6-0/+2691
- Supersedes previous patch. - Added various fixes for fake mtime functionality. - Now requires lp_cache_locked_write_times patch (bug 8912). - Removed various xattr functions to comply with recent VFS changes. - Changed SMB_STRUCT_DIR to DIR and SMB_STRUCT_DIRENT to struct dirent to comply with recent VFS changes. - Added manpage. - Added sample trigger_avid_update.py script. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Tue Aug 7 15:16:39 CEST 2012 on sn-devel-104
2012-08-07s3:smb2_server: do one central as_root check if the operation requires itStefan Metzmacher1-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-07s3:smb2_server: do one central tcon check if the operation requires itStefan Metzmacher1-160/+15
metze
2012-08-07s3:smb2_server: do one central session check if the operation requires itStefan Metzmacher1-66/+6
metze
2012-08-07s3:smb2_server: add and use smbd_smb2_call()Stefan Metzmacher1-0/+21
metze
2012-08-07s3:smb2_server: add .as_root to smbd_smb2_dispatch_tableStefan Metzmacher1-0/+15
metze
2012-08-07s3:smb2_server: add .need_tcon to smbd_smb2_dispatch_tableStefan Metzmacher1-0/+14
metze
2012-08-07s3:smb2_server: add .need_session to smbd_smb2_dispatch_tableStefan Metzmacher1-0/+16
metze
2012-08-07s3:smb2_server: introduce a smbd_smb2_dispatch_table (for now just with names)Stefan Metzmacher1-22/+46
metze
2012-08-07s3:smb2_server: move 'conn' to main block of smbd_smb2_request_dispatch()Stefan Metzmacher1-3/+2
metze
2012-08-07libcli/util: add NT_STATUS_FILE_NOT_AVAILABLEStefan Metzmacher2-0/+2
metze
2012-08-07libcli/smb: use forward declaration instead of includesStefan Metzmacher1-3/+2
metze
2012-08-07s4-scripting: Remove unused variables from ntacl testsAndrew Bartlett1-10/+0
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 7 11:15:41 CEST 2012 on sn-devel-104
2012-08-07s4-smbd: Check for failure of irpc_add_nameAndrew Bartlett1-1/+4
2012-08-07s3-pysmbd: Try opening as a file, then as a directoryAndrew Bartlett1-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-07s3-pysmbd: Use talloc_zero()Andrew Bartlett1-1/+1
This avoids operating on uninitialised data Andrew Bartlett
2012-08-07s3-passdb: Simplify idmap wrapper in pdb_samba4Andrew Bartlett1-50/+9
The source3 consumers of this API are now quite happy to be given an answer of ID_TYPE_BOTH, so we do not need this extra code to try and force the answer to UID or GID. Andrew Bartlett
2012-08-07s3-pysmbd: Add talloc_stackframe() to smbd_set_simple_acl wrapperAndrew Bartlett1-0/+6
2012-08-06s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵Stefan Metzmacher2-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-06s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵Stefan Metzmacher1-28/+15
smbd_smb2_request_create() metze
2012-08-06s3:smb2_server: remove const from smbd_smb2_first_negprot()Stefan Metzmacher2-2/+2
metze
2012-08-06s3:smb2_server: add smbd_smb2_inbuf_parse_compound()Stefan Metzmacher1-0/+104
metze
2012-08-06s4:libcli/smb2/write correct error checkingChristian Ambach1-1/+1
Server might return STATUS_BUFFER_OVERFLOW, which is not caught by NT_STATUS_IS_ERR Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Aug 6 20:01:01 CEST 2012 on sn-devel-104
2012-08-06smbXcli: add some includes to fix compiler warningsChristian Ambach1-0/+3
if smbXcli_base.h is included on its own, there are various compiler warnings about implicitly declared struct iovec and smb2_create_blobs
2012-08-06lib/socket_wrapper: writev returns ssize_t, not intChristian Ambach2-2/+2
2012-08-06lib/param: move enum dns_update_settings to lib/paramChristian Ambach5-28/+4