Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-10-05 | s4:libcli:smb2: make smbcli_options argument to smb2_connect_(send|ext) const | Michael Adam | 1 | -2/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-10-05 | s4:libcli:smb2: add the smb2_capabilities to the smbcli_options | Michael Adam | 1 | -4/+1 | |
and initialize them in lpcfg_smbcli_options() instead of in smb2_transport_init() as previously. This will allow us to control them from callers later. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-10-05 | s4:libcli:smb2: add the client_guid to the smbcli_options | Michael Adam | 1 | -4/+1 | |
and initialize it in lpcfg_smbcli_options() instead of in smb2_transport_init() as previously. Having the client guid in the smbcli_options will allow us to control them from callers later. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-08-23 | libsmb2: Fix opening the rootdirectory, part 1 | Volker Lendecke | 1 | -0/+15 | |
[MS-SMB2], 2.2.13 says: In the request, the Buffer field MUST be at least one byte in length. Implement that for the 0-length filename without create blobs. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-08-15 | libcli/smb: pass max_dyn_len to smb2cli_req_send() | Stefan Metzmacher | 1 | -3/+6 | |
This way we can calculate the correct credit charge for requests with large output buffers. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-04-30 | libsmb: Use sizeof instead of explicit numbers | Volker Lendecke | 1 | -6/+6 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Apr 30 16:02:19 CEST 2013 on sn-devel-104 | |||||
2013-04-30 | libsmb: Use smb2_lease_push in smb2_create_send | Volker Lendecke | 1 | -12/+10 | |
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> | |||||
2013-04-18 | s4:torture/smb2: add smb2_lease_v2_create_share() helper | Stefan Metzmacher | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> | |||||
2013-04-18 | s4:libcli/smb2: add support for SMB2 LEASES v2 | Stefan Metzmacher | 1 | -5/+43 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> | |||||
2013-01-16 | smb2_ioctl: remove ioctl error response assumptions | David Disseldorp | 1 | -3/+34 | |
MS-SMB2 3.3.4.4 documents cases where a ntstatus indicating an error should not be considered a failure. In such a case the output data buffer should be sent to the client rather than an error response packet. Add a new fsctl copy_chunk test to confirm field limits are sent back in response to an oversize chunk request. Reviewed by: Jeremy Allison <jra@samba.org> | |||||
2012-09-19 | s4:libci: add a SMB2_CREATE_APP_INSTANCE_ID blob to the request if the ↵ | Michael Adam | 1 | -0/+25 | |
in.app_instance_id is present | |||||
2012-08-17 | s4:libcli/smb2: reset trsnport->compound.related when a compound chain is ↵ | Stefan Metzmacher | 1 | -0/+1 | |
finished metze | |||||
2012-08-06 | s4:libcli/smb2/write correct error checking | Christian Ambach | 1 | -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-07-25 | libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-07-25 | s4:libcli/smb2: remove unused smb2_session->pid | Stefan Metzmacher | 3 | -4/+0 | |
metze | |||||
2012-07-25 | s4:libcli/smb2: remove unused variable | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2012-07-25 | libcli/smb: there's no PID field in the SMB2/3 header anymore | Stefan Metzmacher | 1 | -4/+0 | |
It's a reserved field... metze | |||||
2012-07-25 | libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send() | Stefan Metzmacher | 1 | -4/+8 | |
metze | |||||
2012-07-25 | s4:libcli/smb2: remove unused elements from smb2_tree | Stefan Metzmacher | 3 | -6/+0 | |
metze | |||||
2012-07-24 | s4:libcli/smb2: setup a smbXcli_tcon for each smb2_tree | Stefan Metzmacher | 3 | -0/+16 | |
metze | |||||
2012-05-06 | s4:libcli/smb2: use PROTOCOL_LATEST | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-04-16 | s4:libcli/smb2: fix anonymous session setups against windows servers | Stefan Metzmacher | 2 | -1/+16 | |
Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor SMB2_SESSION_FLAG_IS_NULL flag. This fix makes sure we don't try to verify a signature on the final session setup response. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 16 14:44:46 CEST 2012 on sn-devel-104 | |||||
2012-04-16 | s4:libcli/smb2: remove unused dependency to LIBPACKET | Stefan Metzmacher | 2 | -2/+1 | |
metze | |||||
2012-03-25 | LIBCLI_SMB2: Depend on cli_smb_common rather than libsmb. | Jelmer Vernooij | 1 | -1/+1 | |
The latter pulls in a fair number of other libraries, including popt and the Samba registry library. | |||||
2012-03-15 | libsmbclient-raw: Install smb_composite.h. | Jelmer Vernooij | 1 | -1/+2 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104 | |||||
2012-03-07 | s4:libcli/smb2: allow smb2_session_setup_spnego to handle reauth | Gregor Beck | 1 | -0/+12 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-03-03 | s4:libcli:smb2: set SMB2_CAP_ALL in the negprot | Michael Adam | 1 | -1/+5 | |
2012-03-03 | s4:libcli:smb2: store the share capabilites in the smb2_tree object | Michael Adam | 2 | -0/+2 | |
2012-03-03 | smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2 | Michael Adam | 1 | -1/+2 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-03-03 | s4:libcli:smb2: allow max protocol 0x0224 | Michael Adam | 1 | -1/+1 | |
2012-03-03 | s4:libcli:smb2: add support for parsing the durable handle v2 response in ↵ | Michael Adam | 1 | -0/+19 | |
smb2_create_recv() | |||||
2012-03-03 | s4:libcli:smb2: add support durable handle reconnect v2 blob in smb2_create_send | Michael Adam | 1 | -0/+27 | |
2012-03-03 | s4:libcli:smb2: add support durable handle request v2 blob in smb2_create_send | Michael Adam | 1 | -0/+28 | |
2012-02-28 | s4:libcli:smb2: add a smb2_connect_ext variant of smb2_connect that takes a ↵ | Michael Adam | 1 | -12/+36 | |
previous_session argument | |||||
2012-02-28 | s4:libcli:smb2: add a previous session argument to smb2_connect_send() | Michael Adam | 1 | -1/+5 | |
2012-02-28 | s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego() | Michael Adam | 2 | -9/+16 | |
So that we can do a session reconnect. | |||||
2012-02-28 | s3:libsmb:smb2: pass previous session ID to session setup, not previous session | Michael Adam | 1 | -2/+2 | |
We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...). | |||||
2012-02-27 | s4:libcli/smb2: remove unused 'session_key' from struct smb2_session | Stefan Metzmacher | 2 | -4/+5 | |
metze | |||||
2012-02-27 | libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵ | Stefan Metzmacher | 1 | -3/+3 | |
signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze | |||||
2012-02-23 | s4:smbcli:smb2: add a random GUID to the transport connection in ↵ | Michael Adam | 1 | -1/+5 | |
smb2_transport_init() This GUID is used in the smb2 negprot when max protocol is bigger than 0x0202. According to section 2.2.3 of the MS-SMB2 document, the Client GUID filed in the SMB2 negotiate request must be filled with a (non-zero) GUID if there are other dialects than 0x0202 in the dialects field. http://msdn.microsoft.com/en-us/library/cc246543%28v=prot.13%29.aspx Apart from corresponding to the docs, this change makes some of our durable-open tests (e.g reopen2 and open-oplock) _not_ hang when running against windows 8 preview (which might be still buggy). Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 23 03:23:57 CET 2012 on sn-devel-104 | |||||
2012-02-03 | s4:libcli:smb2: don't allocate the smb2_tree struct earlier than necessary ↵ | Michael Adam | 1 | -5/+5 | |
in smb2_connect() Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-02-03 | s4:libcli/torture:smb2: change smb2_tree_connect to take a smb2_session ↵ | Michael Adam | 2 | -6/+6 | |
instead of smb2_tree arguement. Only the tree->session is needed. This way it is less confusing. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-09 | s4:libcli/smb2: mark a request as error if we can't ship it | Stefan Metzmacher | 1 | -0/+2 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 9 15:13:11 CET 2011 on sn-devel-104 | |||||
2011-11-30 | s4:libcli: do the nbss session request within smbcli_sock_connect_*() | Stefan Metzmacher | 1 | -39/+17 | |
metze | |||||
2011-11-29 | s4:libcli/smb2: make sure only one idle event runs at a time | Stefan Metzmacher | 2 | -9/+17 | |
metze | |||||
2011-11-24 | s4:libcli/smb2: use talloc_zero() in smb2_request_init() | Stefan Metzmacher | 1 | -16/+3 | |
metze | |||||
2011-11-24 | s4:libcli/smb2: fix compiler warning in smb2_push_o16s16_string() | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2011-11-24 | s4:libcli/smb2: implement on top of smbXcli_conn/req | Stefan Metzmacher | 11 | -863/+422 | |
metze | |||||
2011-11-03 | s4:libcli/smb2: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/ | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-11-03 | s4:libcli/smb2: remove unused SMB_SIGNING_AUTO handling | Stefan Metzmacher | 1 | -2/+0 | |
metze |