Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-09 | s3:smb2cli_base: fix memory hierachy in smb2cli_req_recv() | Stefan Metzmacher | 4 | -27/+44 | |
We need to use talloc_reference() if there're more than one response, but we use it in a way that the caller can't call talloc_free() or talloc_unlink() on it. metze | |||||
2011-07-09 | s3:smb2cli_base: call smb2cli_req_unset_pending() before tevent_req_done() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-07-09 | s3:smb2cli_base: unset the destructor in smb2cli_req_unset_pending() | Stefan Metzmacher | 1 | -2/+3 | |
metze | |||||
2011-07-09 | s3:smb2cli_base: keep the order of pending requests | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-07-09 | s3:smb2cli_base: rename 'result' => 'req' in smb2cli_req_create() | Stefan Metzmacher | 1 | -13/+13 | |
metze | |||||
2011-07-09 | tevent: change version to 0.9.13 after adding tevent_req_defer_callback() | Stefan Metzmacher | 2 | -1/+76 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 12:16:44 CEST 2011 on sn-devel-104 | |||||
2011-07-09 | tevent: add tevent_req_defer_callback() | Stefan Metzmacher | 3 | -0/+60 | |
metze | |||||
2011-07-09 | tevent: fix comments for tevent_req_post() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-07-08 | Move smbd_smb2_request_check_tcon() smbd_smb2_request_check_session() next ↵ | Jeremy Allison | 4 | -121/+130 | |
to their only user and make them static. Add comments. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jul 8 21:01:40 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | s3-waf: split out LIBCLI_WINREG_INTERNAL as LIBCLI_WINREG was pulling in rpc ↵ | Günther Deschner | 2 | -8/+9 | |
server code in undesired places. Andreas, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 8 18:34:44 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | winreg: Ensure server return status is set on success | David Disseldorp | 1 | -83/+30 | |
Currently cli_winreg.c functions only set the returned server werror status on failure, if the server request succeeds the value remains uninitialised. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jul 8 16:32:39 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | winreg: Use the ntstatus return code for client side errors | David Disseldorp | 1 | -37/+21 | |
cli_winreg.c functions indicate status to the caller in two ways. The ntstatus return code indicates client side errors, the pwerr argument carries the server response error code. Many functions are filling the pwerr argument on client side error, this change removes these cases. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-07-08 | s3:libsmb: remove unused cli->inbuf and cli->bufsize | Stefan Metzmacher | 3 | -22/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 15:21:46 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | s3:client: use an inbuf on the stack in readline_callback() | Stefan Metzmacher | 1 | -2/+3 | |
metze | |||||
2011-07-08 | s3:libsmb: clistr_pull_talloc() doesn't need base_ptr and flags2 with STR_ASCII | Stefan Metzmacher | 1 | -2/+2 | |
interpret_short_filename() always parses OEM_Strings (in DOS charset). metze | |||||
2011-07-08 | s3:libsmb: remove unused smb_dos_errstr() | Stefan Metzmacher | 2 | -43/+0 | |
metze | |||||
2011-07-08 | s3:libsmb/smberr: make global const arrays static | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-07-08 | s3:libsmb: don't use the cli->inbuf to store the last error | Stefan Metzmacher | 5 | -104/+41 | |
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze | |||||
2011-07-08 | s3:torture: use cli_is_nt/dos_error() in run_error_map_extract() | Stefan Metzmacher | 1 | -12/+10 | |
Callers should avoid using cli->inbuf directly! metze | |||||
2011-07-08 | s3:libsmb: don't call cli_set_error() in cli_echo() | Stefan Metzmacher | 1 | -3/+0 | |
cli_smb_recv() already does it. metze | |||||
2011-07-08 | s3:libsmb: remove unused enum smb_read_errors infrastructure | Stefan Metzmacher | 7 | -134/+10 | |
metze | |||||
2011-07-08 | s3:client: close the socket if receive_smb_raw() fails | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-07-08 | s3:client: use cli_nt_error() in order to avoid cli_errstr() | Stefan Metzmacher | 1 | -3/+8 | |
metze | |||||
2011-07-08 | s3:client: avoid cli_errstr() where we already have an NTSTATUS | Stefan Metzmacher | 1 | -39/+67 | |
metze | |||||
2011-07-08 | s3:clitar: avoid usage of cli_errstr() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-07-08 | s3:libsmb: remove use of cli_errstr() in SMBC_server_internal() | Stefan Metzmacher | 1 | -3/+8 | |
metze | |||||
2011-07-08 | s3:auth_server: use cli->is_guestlogin instead of parsing cli->inbuf. | Stefan Metzmacher | 1 | -1/+1 | |
cli->inbuf is not the valid response buffer of the session setup response. metze | |||||
2011-07-08 | s3:auth: remove unused variable | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2011-07-08 | s3:auth_unix: remove unused var | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2011-07-08 | s3:smb2_server: add some comments about change_to_user() and ↵ | Stefan Metzmacher | 1 | -2/+98 | |
change_to_root_user() metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 13:45:46 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | lib/param: Merge struct loadparm_service into common | Andrew Bartlett | 13 | -210/+233 | |
This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | s3-param use common struct parmlist_entry to hold parametric options | Andrew Bartlett | 3 | -41/+33 | |
This will allow struct loadparm_service to be shared in future. Andrew Bartlett | |||||
2011-07-08 | param: Move per-share parameters into a seperate file, to share with s3 | Andrew Bartlett | 5 | -37/+43 | |
This will allow the struct loadparm_service to be in common between the two loadparm implementations in the tree. Andrew Bartlett | |||||
2011-07-08 | s4-param Remove offset != -1 checks | Andrew Bartlett | 1 | -7/+2 | |
No offset values are set to -1 in the parameter table Andrew Bartlett | |||||
2011-07-08 | s4-param change to struct bitmap to match s3-param | Andrew Bartlett | 2 | -16/+17 | |
2011-07-08 | s4-param Also check the p_class matches when comparing offset | Andrew Bartlett | 1 | -1/+3 | |
2011-07-08 | s3-param check for aliases with both p_class and offset | Andrew Bartlett | 1 | -6/+17 | |
This bug was found when comparing with the source4 loadparm code. Andrew Bartlett | |||||
2011-07-08 | lib/util Move bitmap.c to lib/util | Andrew Bartlett | 15 | -23/+51 | |
2011-07-08 | param: Add hooks to s3 parm_struct and the parameters void * pointer | Andrew Bartlett | 7 | -31/+78 | |
This is to that the pyparam hooks can use the hooks to connect with the s3 loadparm system. This now also includes per-service parameters. Andrew Bartlett | |||||
2011-07-08 | s3-lib use True and False in bitmap.c | Andrew Bartlett | 1 | -7/+7 | |
2011-07-08 | s3-param: calculate default_server_announce at runtime | Andrew Bartlett | 1 | -15/+5 | |
2011-07-08 | s3-param Remove lp_set_passdb_backend() | Andrew Bartlett | 3 | -7/+1 | |
2011-07-08 | s3-zfsacl: Fix a debug message | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 8 11:22:55 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | s3:wscript_build: remove unused variable | Stefan Metzmacher | 1 | -2/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 02:43:22 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | s3:selftest: run SMB2-BASIC | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-08 | s3:torture: add SMB2-BASIC | Stefan Metzmacher | 5 | -2/+153 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add smb2cli_query_directory*() | Stefan Metzmacher | 4 | -0/+207 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add smb2cli_write*() | Stefan Metzmacher | 4 | -0/+156 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add smb2cli_read*() | Stefan Metzmacher | 4 | -0/+187 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze | |||||
2011-07-08 | s3:libsmb: add smb2cli_flush*() | Stefan Metzmacher | 4 | -0/+128 | |
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze |