Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-11 | s3:smbd: use smbd_calculate_access_mask() also for fake_files | Stefan Metzmacher | 1 | -0/+13 | |
metze | |||||
2011-07-11 | s3:smbd: check the share level access mask in smbd_calculate_access_mask() | Stefan Metzmacher | 1 | -0/+17 | |
I think we should reject invalid access early, before we might create new files. Also smbd_check_open_rights() is only called if the file existed. metze | |||||
2011-07-11 | s3:smbd: make smbd_calculate_access_mask() non-static | Stefan Metzmacher | 2 | -14/+20 | |
metze | |||||
2011-07-11 | s3:smbd/msdfs: let create_conn_struct() check the share security descriptor | Stefan Metzmacher | 1 | -0/+30 | |
metze | |||||
2011-07-11 | s3:winbindd_cm: make use of cli->src_ss instead of calling getsockname() | Stefan Metzmacher | 1 | -2/+8 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 19:31:14 CEST 2011 on sn-devel-104 | |||||
2011-07-11 | s3:winbindd_cm: make use of cli->dest_ss instead calling getpeername() | Stefan Metzmacher | 1 | -1/+7 | |
metze | |||||
2011-07-11 | s3:winbindd_cm: make use of cli_state_disconnect() | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2011-07-11 | s3:winbindd_cm: make use of cli_state_is_connected() | Stefan Metzmacher | 1 | -9/+6 | |
metze | |||||
2011-07-11 | s3:auth_server: use cli_echo() to check if the server is alive | Stefan Metzmacher | 1 | -5/+10 | |
This works over port 139 and also 445. send_keepalive() would only work on port 139. metze | |||||
2011-07-11 | s3:auth_server: make use of cli_state_is_connected() | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-07-11 | s3:client: simplify readline_callback() to only use cli_echo() | Stefan Metzmacher | 1 | -54/+9 | |
cli_echo() already swallows NBT keepalive messages, so there's no need to filter them in the 'smbclient' layer. metze | |||||
2011-07-11 | s3:libsmbclient: use cli_state_is_connected() in SMBC_check_server() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-07-11 | s3:libsmbclient: don't log the lowlevel fd in smbc_free_context() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-07-11 | s3:libsmb: add cli_state_disconnect() | Stefan Metzmacher | 2 | -0/+8 | |
metze | |||||
2011-07-11 | s3:libsmb: make use of cli_state_is_connected() | Stefan Metzmacher | 1 | -13/+9 | |
metze | |||||
2011-07-11 | s3:libsmb: remove unused cli_set_port() | Stefan Metzmacher | 4 | -13/+0 | |
metze | |||||
2011-07-11 | s3:libsmb: also remember the local socket address after connect | Stefan Metzmacher | 2 | -0/+9 | |
metze | |||||
2011-07-11 | s3:smb2cli_base: add my copyright | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-07-11 | s3-torture: run_locktest2(): replace check_error() with check_both_error() | Björn Baumbach | 1 | -10/+14 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: run_locktest2(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -20/+35 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: run_locktest1(): replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -17/+25 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: locktest2: replace cli_lock() with cli_lock32() | Björn Baumbach | 1 | -1/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-torture: let wait_lock() use cli_lock32() instead of cli_lock() | Björn Baumbach | 1 | -3/+13 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-11 | s3-libsmb: let cli_lock64 return NTSTATUS instead of bool | Björn Baumbach | 3 | -16/+15 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 11 12:48:38 CEST 2011 on sn-devel-104 | |||||
2011-07-11 | s3-libsmb: introduce cli_lock32() | Björn Baumbach | 2 | -0/+18 | |
Same like cli_lock() but return NTSTATUS instead of bool Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-10 | s3:smb2cli_tcon: use tevent_req_oom() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-10 | s3: Fix Coverity ID 2587,2588: CHECKED_RETURN | Volker Lendecke | 2 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 10 10:36:11 CEST 2011 on sn-devel-104 | |||||
2011-07-09 | s3:smb2cli_base: ask for the next response if there're still pending requests | Stefan Metzmacher | 1 | -1/+21 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 13:55:04 CEST 2011 on sn-devel-104 | |||||
2011-07-09 | s3:smb2cli_base: make use of tevent_req_defer_callback() | Stefan Metzmacher | 1 | -28/+64 | |
In order to notify requests of transport layer errors, we need to defer the triggering of the callbacks, otherwise we may crash, if one of the callbacks destroys the cli_state. metze | |||||
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-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 |