summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-04s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher1-2/+23
W2K (at least sp4) and higher also send the server name. metze
2011-11-04s3:libsmb: the workgroup in the non-extended-security negprot is not aligned ↵Stefan Metzmacher1-2/+5
(#8573) I've tested the fix against NT4 sp6a, W2K sp4, W2K8R2 and Win8pre0. metze
2011-11-03s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/Stefan Metzmacher1-1/+1
metze
2011-10-24libcli/smb: move source3/libsmb/read_smb.* to the toplevelStefan Metzmacher1-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-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett1-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-14Fix const warning.Jeremy Allison1-1/+1
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-28s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher1-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-28s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher1-3/+2
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
2011-09-22s3: Fix Coverity ID 2619: UNINITVolker Lendecke1-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-22s3: Fix Coverity ID 2618: UNINITVolker Lendecke1-0/+2
2011-09-15s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher1-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-15s3:libsmb: split cli->secblob into ↵Stefan Metzmacher1-12/+75
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
2011-09-15s3:libsmb: make use of cli_state_server_gss_blob()Stefan Metzmacher1-5/+9
metze
2011-09-15s3:libsmb: make use of cli_state_server_challenge()Stefan Metzmacher1-11/+8
metze
2011-09-15s3:libsmb: remove the guid from the cli->secblob in spnego modeStefan Metzmacher1-4/+8
metze
2011-09-15s3:libsmb: make sure cli->secblob.length is 8 if we get a challengeStefan Metzmacher1-2/+2
metze
2011-09-15s3:libsmb: restructure cli_negprot_done() secblob handling a bitStefan Metzmacher1-10/+13
metze
2011-09-15s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher1-2/+5
metze
2011-09-15s3:libsmb: detect lock_read and write_unlock supportStefan Metzmacher1-0/+15
metze
2011-09-15s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*brawStefan Metzmacher1-4/+9
This is currently unused, but we might use it in future. metze
2011-09-15s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_modeStefan Metzmacher1-5/+8
metze
2011-09-15s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher1-4/+7
metze
2011-09-15s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher1-6/+12
And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze
2011-09-15s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher1-4/+9
And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze
2011-09-15s3:libsmb: move cli->protocol to cli->conn.protocolStefan Metzmacher1-4/+4
metze
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher1-5/+6
metze
2011-09-15s3:libsmb: add basic max_protocol support in cli_negprot()Stefan Metzmacher1-7/+15
metze
2011-09-15s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher1-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-15s3:libsmb: make use of SMB_CAP_BOTH/CLIENT_MASK in ↵Stefan Metzmacher1-13/+25
cli_session_setup_capabilities() This matches a w2k3 client. metze
2011-09-15s3:libsmb: calculate the negotiated SMB1 capabilities in cli_negprot_done()Stefan Metzmacher1-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-15s3:libsmb: no need to reset capabilities in cli_session_setup_lanman2()Stefan Metzmacher1-10/+0
This is only used cli->protocol < PROTOCOL_NT1, in which case cli_negprot_done() has already reset cli->capabilities. metze
2011-09-15s3:libsmb: make sure we always set cli->capabilities at the end of ↵Stefan Metzmacher1-3/+6
cli_negprot_done() If the server doesn't support PROTOCOL_NT1 we should reset the negotiated capabilities to 0. metze
2011-09-14s3:libsmb: remove unused cli->is_sambaStefan Metzmacher1-22/+1
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14Fix bug #8453 - smbclient segfaults when dialect option -m is used for ↵Jeremy Allison1-0/+13
legacy dialects Ensure we have valid pointers.
2011-09-14s3:libsmb: make use of new advanded SMB signingStefan Metzmacher1-31/+28
metze
2011-09-13s3:libsmb: make use of cli_state_server_session_key()Stefan Metzmacher1-4/+4
metze
2011-09-13s3:libsmb: make use of cli_state_security_mode()Stefan Metzmacher1-9/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 19:45:01 CEST 2011 on sn-devel-104
2011-09-13s3:libsmb: make sure cli->max_mux is valid in the return of the serverStefan Metzmacher1-0/+6
metze
2011-09-13s3:libsmb: check that max_xmit is not less than 1024Stefan Metzmacher1-0/+5
metze
2011-09-13s3:libsmb: better expect a max_xmit of 1024 instead of 0xFFFF for the CORE ↵Stefan Metzmacher1-0/+1
protocol metze
2011-09-13s3:libsmb: make use of cli_state_available_size() in cli_sesssetup_blob_send()Stefan Metzmacher1-6/+8
metze
2011-09-12s3:libsmb: check the wct of the incoming SMBnegprot responsesStefan Metzmacher1-0/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 12 20:50:27 CEST 2011 on sn-devel-104
2011-09-08s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCIIStefan Metzmacher1-1/+2
metze
2011-09-08s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_full_connection()Stefan Metzmacher1-4/+0
This is already done by cli_state_create(). metze
2011-09-08s3:libsmb: don't handle CLI_FULL_CONNECTION_* flags in cli_start_connection()Stefan Metzmacher1-13/+0
This is already done by cli_state_create(). metze
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()Stefan Metzmacher1-3/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags to cli_state_create()Stefan Metzmacher1-1/+2
metze
2011-08-10s3:libsmb: make cli_session_setup_spnego() staticStefan Metzmacher1-2/+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-10s3:libsmb: pass remote_realm to cli_session_setup_spnego() in ↵Stefan Metzmacher1-1/+3
cli_session_setup() metze