summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-param: Remove never-reached condition for popts == NULLAndrew Bartlett2012-08-071-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
* s3-param: Remove never-reached condition for opt_list == NULLAndrew Bartlett2012-08-071-4/+0
| | | | | | All the callers provide a parametric options pointer to fill in. Andrew Bartlett
* source3/loadparm.c: Move string_set/string_free inside.Rusty Russell2012-08-075-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>
* source3/smbd/conn.c: wean off string_set/string_freeRusty Russell2012-08-072-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>
* source3/loadparm: make struct loadparm_service a talloc object.Rusty Russell2012-08-071-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>
* loadparm: Add ctx member to struct loadparm_global.Rusty Russell2012-08-072-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>
* media_harmony VFS module: Add and build by default.Andrew Klaassen2012-08-076-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
* s3:smb2_server: do one central as_root check if the operation requires itStefan Metzmacher2012-08-071-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
* s3:smb2_server: do one central tcon check if the operation requires itStefan Metzmacher2012-08-071-160/+15
| | | | metze
* s3:smb2_server: do one central session check if the operation requires itStefan Metzmacher2012-08-071-66/+6
| | | | metze
* s3:smb2_server: add and use smbd_smb2_call()Stefan Metzmacher2012-08-071-0/+21
| | | | metze
* s3:smb2_server: add .as_root to smbd_smb2_dispatch_tableStefan Metzmacher2012-08-071-0/+15
| | | | metze
* s3:smb2_server: add .need_tcon to smbd_smb2_dispatch_tableStefan Metzmacher2012-08-071-0/+14
| | | | metze
* s3:smb2_server: add .need_session to smbd_smb2_dispatch_tableStefan Metzmacher2012-08-071-0/+16
| | | | metze
* s3:smb2_server: introduce a smbd_smb2_dispatch_table (for now just with names)Stefan Metzmacher2012-08-071-22/+46
| | | | metze
* s3:smb2_server: move 'conn' to main block of smbd_smb2_request_dispatch()Stefan Metzmacher2012-08-071-3/+2
| | | | metze
* libcli/util: add NT_STATUS_FILE_NOT_AVAILABLEStefan Metzmacher2012-08-072-0/+2
| | | | metze
* libcli/smb: use forward declaration instead of includesStefan Metzmacher2012-08-071-3/+2
| | | | metze
* s4-scripting: Remove unused variables from ntacl testsAndrew Bartlett2012-08-071-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
* s4-smbd: Check for failure of irpc_add_nameAndrew Bartlett2012-08-071-1/+4
|
* s3-pysmbd: Try opening as a file, then as a directoryAndrew Bartlett2012-08-071-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
* s3-pysmbd: Use talloc_zero()Andrew Bartlett2012-08-071-1/+1
| | | | | | This avoids operating on uninitialised data Andrew Bartlett
* s3-passdb: Simplify idmap wrapper in pdb_samba4Andrew Bartlett2012-08-071-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
* s3-pysmbd: Add talloc_stackframe() to smbd_set_simple_acl wrapperAndrew Bartlett2012-08-071-0/+6
|
* s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵Stefan Metzmacher2012-08-062-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
* s3:smb2_server: make use of smbd_smb2_inbuf_parse_compound() in ↵Stefan Metzmacher2012-08-061-28/+15
| | | | | | smbd_smb2_request_create() metze
* s3:smb2_server: remove const from smbd_smb2_first_negprot()Stefan Metzmacher2012-08-062-2/+2
| | | | metze
* s3:smb2_server: add smbd_smb2_inbuf_parse_compound()Stefan Metzmacher2012-08-061-0/+104
| | | | metze
* s4:libcli/smb2/write correct error checkingChristian Ambach2012-08-061-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
* smbXcli: add some includes to fix compiler warningsChristian Ambach2012-08-061-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
* lib/socket_wrapper: writev returns ssize_t, not intChristian Ambach2012-08-062-2/+2
|
* lib/param: move enum dns_update_settings to lib/paramChristian Ambach2012-08-065-28/+4
|
* s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()Stefan Metzmacher2012-08-061-0/+6
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 6 18:06:50 CEST 2012 on sn-devel-104
* s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/Stefan Metzmacher2012-08-063-18/+18
| | | | metze
* Revert "ldb: Add parameter to avoid NULL format string flagged by ↵Andrew Bartlett2012-08-061-1/+1
| | | | | | | | | | | | | | -Werror=format" This reverts commit cddcaf7bd2c272bc578ac1e4f7ec438ab94fc243. -Werror=format is no longer uses when it would cause this to fail. This is a legitimate use of the ldb_search API. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Aug 6 14:47:27 CEST 2012 on sn-devel-104
* build: Make -Werror=format check only run where NULL is still acceptedAndrew Bartlett2012-08-061-3/+18
| | | | | | | | This is needed because ldb_search() allows a NULL parameter for the format string and this needs to be permitted by the format string checker before we want to make this error fatal. Andrew Bartlett
* Rework recursive waf build to be a selftest-enabled not a developer buildAndrew Bartlett2012-08-061-1/+1
| | | | | | | | This essentially reverts commit a943a9ba2f739e8aee630f774915e8204aa8cf3a. I've fixed this by making lib/param/parm_table.c honour --enable-selftest. Andrew Bartlett
* build: Remove duplicate declaration of --enable-selftestAndrew Bartlett2012-08-061-3/+0
|
* lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett2012-08-064-3/+7
|
* s3:smbd: remove unused variable in sesssetup.cStefan Metzmacher2012-08-051-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
* s3:smb2_server: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-20/+12
| | | | metze
* s3:smb2_ioctl: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-8/+6
| | | | metze
* s3:smb2_lock: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-10/+7
| | | | metze
* s3:smb2_setinfo: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-5/+4
| | | | metze
* s3:smb2_getinfo: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-5/+4
| | | | metze
* s3:smb2_negprot: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-4/+3
| | | | metze
* s3:smb2_write: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-5/+4
| | | | metze
* s3:smb2_tcon: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-7/+5
| | | | metze
* s3:smb2_create: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-5/+4
| | | | metze
* s3:smb2_find: make use of SMBD_SMB2_* macrosStefan Metzmacher2012-08-051-5/+4
| | | | metze