Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-16 | s3:libsmb: fix anonymous session setups against windows servers | Stefan Metzmacher | 1 | -0/+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 | |||||
2012-02-28 | s3:libsmb:smb2: pass previous session ID to session setup, not previous session | Michael Adam | 1 | -1/+1 | |
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 | libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵ | Stefan Metzmacher | 1 | -2/+2 | |
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-01 | s3-lib: Fix util_cmdline which doesn't use popt. | Andreas Schneider | 1 | -1/+1 | |
This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD. | |||||
2012-01-05 | s3-libads Factor out a new routine ↵ | Andrew Bartlett | 1 | -36/+10 | |
kerberos_get_principal_from_service_hostname() This is now used in the GSE GSSAPI client, so that when we connect to a target server at the CIFS level, we use the same name to connect at the DCE/RPC level. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-12-20 | s3: Fix some False/NULL hickups | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104 | |||||
2011-11-24 | s3:libsmb: add cli_tree_connect() for a generic tree connect | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2011-11-24 | s3:libsmb: add SMB2 support to cli_session_setup() | Stefan Metzmacher | 1 | -20/+122 | |
metze | |||||
2011-11-24 | s3:libsmb: implement cli_state based functions on top of ↵ | Stefan Metzmacher | 1 | -443/+7 | |
smbXcli_conn/smbXcli_req metze | |||||
2011-11-21 | s3:libsmb: close fd on error in cli_connect_nb() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-11-16 | Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵ | Stefan Metzmacher | 1 | -13/+0 | |
for legacy dialects" This reverts commit f261ac1932ecdae925b27301aa3e907757845a85. We now handle that in cli_state_create(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 15:44:05 CET 2011 on sn-devel-104 | |||||
2011-11-08 | s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584) | Stefan Metzmacher | 1 | -4/+30 | |
metze | |||||
2011-11-08 | s3:libsmb: key_len is 8bit only in the NT1 case | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-11-04 | s3:libsmb: also remember the optional server name from the negprot response | Stefan Metzmacher | 1 | -2/+23 | |
W2K (at least sp4) and higher also send the server name. metze | |||||
2011-11-04 | s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵ | Stefan Metzmacher | 1 | -2/+5 | |
(#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze | |||||
2011-11-03 | s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/ | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-10-24 | libcli/smb: move source3/libsmb/read_smb.* to the toplevel | Stefan Metzmacher | 1 | -1/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104 | |||||
2011-10-18 | ntlmssp: Move ntlmssp code to auth/ntlmssp | Andrew Bartlett | 1 | -1/+1 | |
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-14 | Fix const warning. | Jeremy Allison | 1 | -1/+1 | |
2011-10-12 | s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value | Gregor Beck | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-09-28 | s3:libsmb: remove unused TALLOC_FREE(subreq) calls in | Stefan Metzmacher | 1 | -5/+0 | |
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104 | |||||
2011-09-28 | s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv() | Stefan Metzmacher | 1 | -3/+2 | |
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze | |||||
2011-09-22 | s3: Fix Coverity ID 2619: UNINIT | Volker Lendecke | 1 | -0/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Sep 22 01:55:04 CEST 2011 on sn-devel-104 | |||||
2011-09-22 | s3: Fix Coverity ID 2618: UNINIT | Volker Lendecke | 1 | -0/+2 | |
2011-09-15 | s3:libsmb: move cli->server{zone,time} to ↵ | Stefan Metzmacher | 1 | -8/+14 | |
cli->conn.smb1.server.{time_zone,system_time} metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 14:00:29 CEST 2011 on sn-devel-104 | |||||
2011-09-15 | s3:libsmb: split cli->secblob into ↵ | Stefan Metzmacher | 1 | -12/+75 | |
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze | |||||
2011-09-15 | s3:libsmb: make use of cli_state_server_gss_blob() | Stefan Metzmacher | 1 | -5/+9 | |
metze | |||||
2011-09-15 | s3:libsmb: make use of cli_state_server_challenge() | Stefan Metzmacher | 1 | -11/+8 | |
metze | |||||
2011-09-15 | s3:libsmb: remove the guid from the cli->secblob in spnego mode | Stefan Metzmacher | 1 | -4/+8 | |
metze | |||||
2011-09-15 | s3:libsmb: make sure cli->secblob.length is 8 if we get a challenge | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-09-15 | s3:libsmb: restructure cli_negprot_done() secblob handling a bit | Stefan Metzmacher | 1 | -10/+13 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_key | Stefan Metzmacher | 1 | -2/+5 | |
metze | |||||
2011-09-15 | s3:libsmb: detect lock_read and write_unlock support | Stefan Metzmacher | 1 | -0/+15 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*braw | Stefan Metzmacher | 1 | -4/+9 | |
This is currently unused, but we might use it in future. metze | |||||
2011-09-15 | s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_mode | Stefan Metzmacher | 1 | -5/+8 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_mux | Stefan Metzmacher | 1 | -4/+7 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmit | Stefan Metzmacher | 1 | -6/+12 | |
And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze | |||||
2011-09-15 | s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilities | Stefan Metzmacher | 1 | -4/+9 | |
And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze | |||||
2011-09-15 | s3:libsmb: move cli->protocol to cli->conn.protocol | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-09-15 | s3:libsmb: pass max_protocol to cli_negprot() | Stefan Metzmacher | 1 | -5/+6 | |
metze | |||||
2011-09-15 | s3:libsmb: add basic max_protocol support in cli_negprot() | Stefan Metzmacher | 1 | -7/+15 | |
metze | |||||
2011-09-15 | s3:libsmb: use local variables in cli_state_create() | Stefan Metzmacher | 1 | -5/+0 | |
We don't need to keep use_spnego, use_level_II_oplocks, force_dos_errors and force_ascii within struct cli_state. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 10:12:17 CEST 2011 on sn-devel-104 | |||||
2011-09-15 | s3:libsmb: make use of SMB_CAP_BOTH/CLIENT_MASK in ↵ | Stefan Metzmacher | 1 | -13/+25 | |
cli_session_setup_capabilities() This matches a w2k3 client. metze | |||||
2011-09-15 | s3:libsmb: calculate the negotiated SMB1 capabilities in cli_negprot_done() | Stefan Metzmacher | 1 | -6/+12 | |
We calculate the negotiated capabilities based on the mask for: - client only flags - flags used in both directions - server only flags metze | |||||
2011-09-15 | s3:libsmb: no need to reset capabilities in cli_session_setup_lanman2() | Stefan Metzmacher | 1 | -10/+0 | |
This is only used cli->protocol < PROTOCOL_NT1, in which case cli_negprot_done() has already reset cli->capabilities. metze | |||||
2011-09-15 | s3:libsmb: make sure we always set cli->capabilities at the end of ↵ | Stefan Metzmacher | 1 | -3/+6 | |
cli_negprot_done() If the server doesn't support PROTOCOL_NT1 we should reset the negotiated capabilities to 0. metze | |||||
2011-09-14 | s3:libsmb: remove unused cli->is_samba | Stefan Metzmacher | 1 | -22/+1 | |
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-09-14 | Fix bug #8453 - smbclient segfaults when dialect option -m is used for ↵ | Jeremy Allison | 1 | -0/+13 | |
legacy dialects Ensure we have valid pointers. | |||||
2011-09-14 | s3:libsmb: make use of new advanded SMB signing | Stefan Metzmacher | 1 | -31/+28 | |
metze | |||||
2011-09-13 | s3:libsmb: make use of cli_state_server_session_key() | Stefan Metzmacher | 1 | -4/+4 | |
metze |