Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-08 | s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCII | Stefan Metzmacher | 2 | -1/+10 | |
metze | |||||
2011-09-08 | s3:libsmb: add CLI_FULL_CONNECTION_FORCE_DOS_ERRORS | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2011-09-08 | s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_full_connection() | Stefan Metzmacher | 1 | -4/+0 | |
This is already done by cli_state_create(). metze | |||||
2011-09-08 | s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_start_connection() | Stefan Metzmacher | 1 | -13/+0 | |
This is already done by cli_state_create(). metze | |||||
2011-09-08 | s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb() | Stefan Metzmacher | 5 | -24/+32 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104 | |||||
2011-09-08 | s3:libsmb: pass CLI_FULL_CONNECTION_* flags to cli_state_create() | Stefan Metzmacher | 3 | -3/+26 | |
metze | |||||
2011-09-07 | s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid values | Stefan Metzmacher | 1 | -3/+3 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 18:19:43 CEST 2011 on sn-devel-104 | |||||
2011-09-07 | s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-auth | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-09-07 | s3:smb2cli: fix marshalling of smb2_create_blobs in smb2cli_create() | Stefan Metzmacher | 1 | -3/+5 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 10:21:55 CEST 2011 on sn-devel-104 | |||||
2011-09-07 | s3:smb2cli: don't terminate the pathname in smb2cli_query_directory() | Stefan Metzmacher | 1 | -1/+6 | |
Windows generates NT_STATUS_OBJECT_NAME_INVALID otherwise. metze | |||||
2011-09-07 | s3:smb2cli: don't terminate the pathname in smb2cli_create() | Stefan Metzmacher | 1 | -3/+10 | |
Windows generates NT_STATUS_OBJECT_NAME_INVALID otherwise. metze | |||||
2011-09-07 | s3:smb2cli: don't terminate the pathname in smb2cli_tcon() | Stefan Metzmacher | 1 | -1/+6 | |
Windows generates NT_STATUS_BAD_NETWORK_NAME otherwise. metze | |||||
2011-09-07 | s3:smb2cli: SMB2_TCON needs one dyn byte to that the structure size check works. | Stefan Metzmacher | 1 | -0/+6 | |
Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze | |||||
2011-09-07 | s3:smb2cli: SMB2_WRITE needs one dyn byte to that the structure size check ↵ | Stefan Metzmacher | 1 | -1/+12 | |
works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze | |||||
2011-09-07 | s3:smb2cli: SMB2_READ needs one dyn byte to that the structure size check works. | Stefan Metzmacher | 1 | -1/+2 | |
Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze | |||||
2011-09-07 | s3:smb2cli: SMB2_QUERY_DIRECTORY needs one dyn byte to that the structure ↵ | Stefan Metzmacher | 1 | -0/+6 | |
size check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze | |||||
2011-09-07 | s3:smb2cli: SMB2_CREATE needs one dyn byte to that the structure size check ↵ | Stefan Metzmacher | 1 | -1/+1 | |
works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze | |||||
2011-09-07 | s3:smb2cli: SMB2_SESSION_SETUP needs one dyn byte to that the structure size ↵ | Stefan Metzmacher | 1 | -1/+12 | |
check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze | |||||
2011-09-05 | s3:smb2cli: make sure we don't try to send requests on a disconnected cli_state | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-09-05 | s3:smb2cli: make sure requests are not finished, when we send when to the ↵ | Stefan Metzmacher | 1 | -0/+4 | |
network metze | |||||
2011-09-05 | s3:smb2cli: disconnect the connection, if we're out of message ids | Stefan Metzmacher | 1 | -1/+15 | |
metze | |||||
2011-09-05 | s3:smb2cli: don't use state->cli->smb2.mid++ as macro argument | Stefan Metzmacher | 1 | -1/+5 | |
It gets expanded multiple times. metze | |||||
2011-09-03 | s3:smb2cli: ask for a session key in smb2cli_sesssetup_send() | Stefan Metzmacher | 1 | -0/+3 | |
This is needed if we want to support SMB2 signing later. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 3 16:21:35 CEST 2011 on sn-devel-104 | |||||
2011-08-29 | s3-lib: If we create a pipe socket, don't start to listen. | Andreas Schneider | 1 | -0/+6 | |
The create_pipe_sock() function should only create the socket as the name states and not start to listen on it too. We should start to listen on in the individual places as we need different backlog values. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Aug 29 13:21:43 CEST 2011 on sn-devel-104 | |||||
2011-08-28 | s3:libsmb: make cli_session_request_send/recv() static | Stefan Metzmacher | 1 | -6/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Aug 28 20:29:01 CEST 2011 on sn-devel-104 | |||||
2011-08-28 | s3:libsmb: move cli_session_request*() to smbsock_connect.c | Stefan Metzmacher | 2 | -127/+129 | |
metze | |||||
2011-08-28 | s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.c | Stefan Metzmacher | 3 | -79/+86 | |
metze | |||||
2011-08-28 | s3:libsmb: use cli_smb_req_set_mid() in cli_smb_oplock_break_waiter_send() | Stefan Metzmacher | 1 | -3/+1 | |
metze | |||||
2011-08-28 | s3:libsmb: let cli_smb_req_mid() return the mid set by cli_smb_req_set_mid() | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-08-23 | s/event_context/tevent_context/ in smbsock_any_connect | Volker Lendecke | 1 | -2/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 23 18:21:58 CEST 2011 on sn-devel-104 | |||||
2011-08-23 | s/event_context/tevent_context/ in smbsock_connect | Volker Lendecke | 1 | -2/+2 | |
2011-08-12 | s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send() | Stefan Metzmacher | 11 | -16/+80 | |
The caller should take care of the global cli_state values. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 19:38:27 CEST 2011 on sn-devel-104 | |||||
2011-08-12 | s3:smb2cli: allow 32bit dyn_len in smb2cli_req_create()/smb2cli_req_send() | Stefan Metzmacher | 2 | -5/+5 | |
metze | |||||
2011-08-12 | s3:libsmb: keep a cli_smb_state->one_way | Stefan Metzmacher | 1 | -12/+19 | |
This moves the SMB1 specific stuff to cli_smb_req_create(), instead of having it in the core dispatching code. metze | |||||
2011-08-12 | s3:libsmb: abstract the incoming dispatch function via a function pointer | Stefan Metzmacher | 1 | -5/+6 | |
This will allow handling of SMB2 in future. metze | |||||
2011-08-12 | s3:libsmb: split out cli_state_dispatch_smb1() from cli_smb_received() | Stefan Metzmacher | 1 | -45/+66 | |
metze | |||||
2011-08-12 | s3:libsmb: add missing TALLOC_FREE(frame) to cli_smb_received() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-08-12 | s3:libsmb: keep the request order in cli_smb_req_unset_pending() | Stefan Metzmacher | 1 | -1/+3 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 12:36:03 CEST 2011 on sn-devel-104 | |||||
2011-08-12 | s3:libsmb: use tevent_req_defer_callback() unless there's only one request ↵ | Stefan Metzmacher | 1 | -4/+41 | |
in cli_smb_received() Callers of tevent_req_done() (or similar functions) have to return directly. Otherwise the callback could invalidate the current stack state, which is likely to trigger segfaults. If there was only one pending request and we just got the response for that one, we can use tevent_req_done() directly. Otherwise there're more pending requests and we need to call cli_state_receive_next() or we got the response for chained requests. Both means that we have to use tevent_req_defer_callback(). metze | |||||
2011-08-12 | s3:libsmb: make use of cli_state_receive_next() in cli_smb_received() | Stefan Metzmacher | 1 | -17/+2 | |
metze | |||||
2011-08-12 | s3:libsmb: notify all request about failures in cli_smb_req_set_pending() | Stefan Metzmacher | 1 | -0/+7 | |
It's up to the caller to notify the current request, but we have to notify all other pending requests if we're not able to read the next response from the server. metze | |||||
2011-08-12 | s3:libsmb: split out cli_state_receive_next() from cli_smb_req_set_pending() | Stefan Metzmacher | 1 | -2/+25 | |
metze | |||||
2011-08-12 | s3:libsmb: use talloc_stackframe() in cli_smb_received() | Stefan Metzmacher | 1 | -8/+12 | |
metze | |||||
2011-08-12 | s3:libsmb: call cli_smb_req_unset_pending() before tevent_req_done() also ↵ | Stefan Metzmacher | 1 | -0/+1 | |
for chained requests metze | |||||
2011-08-12 | s3:libsmb: reset the destructor in cli_smb_req_unset_pending() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-08-12 | s3:libsmb: add cli_state_notify_pending() and use it | Stefan Metzmacher | 1 | -25/+45 | |
If we got a problem on the connection we need to notify every pending request. But we need to make use of tevent_req_defer_callback() before tevent_req_nterror(), otherwise the callback, triggered by tevent_req_nterror(), could invalidate the state of current caller, which will likely cause segfaults. metze | |||||
2011-08-10 | s3:libsmb: make cli_session_setup_spnego() static | Stefan Metzmacher | 2 | -6/+4 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 12:31:55 CEST 2011 on sn-devel-104 | |||||
2011-08-10 | s3:libsmb: pass remote_realm to cli_session_setup_spnego() in ↵ | Stefan Metzmacher | 1 | -1/+3 | |
cli_session_setup() metze | |||||
2011-08-10 | s3:libsmb: store the remote_realm on the cli_state | Stefan Metzmacher | 3 | -1/+16 | |
metze | |||||
2011-08-09 | s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmit | Stefan Metzmacher | 4 | -14/+14 | |
The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 18:14:38 CEST 2011 on sn-devel-104 |