summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
AgeCommit message (Collapse)AuthorFilesLines
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
2011-08-10s3:libsmb: store the remote_realm on the cli_stateStefan Metzmacher1-1/+1
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_protocol()Stefan Metzmacher1-10/+10
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher1-4/+4
metze
2011-07-22s3:libsmb/cliconnect: make use of cli_state_remote_name()Stefan Metzmacher1-7/+8
metze
2011-07-22s3:libsmb: only pass const sockaddr_storage to cli_full_connection()Stefan Metzmacher1-5/+1
No direct or indirect caller needs this to be set. metze
2011-07-22s3:libsmb: only pass a const sockaddr_storage to cli_start_connection()Stefan Metzmacher1-5/+5
Let the caller use cli_state_remote_sockaddr() if needed. metze
2011-07-22s3:libsmb: let cli_connect_nb() only expect a const sockaddr_storage *dest_ssStefan Metzmacher1-7/+7
Only one caller expects this value to be set, which now calls cli_state_remote_sockaddr() to get the value. metze
2011-07-21s3:libsmb: replace cli_initialise[_ex]() by cli_state_create()Stefan Metzmacher1-24/+2
This makes sure cli_state->src_ss and cli_state->dest_ss are always initialized. metze
2011-07-21s3:libsmb: don't pass cli->called.name to NTLMv2_generate_names_blob()Stefan Metzmacher1-3/+3
cli->called.name is never initialized, so this change doesn't change the behavior. And this behavior seems to be correct, see commit 29c0c37691da10bf061ba90a5b31482bda2fa486 s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnego. metze
2011-07-21s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher1-8/+8
cli_state_[g|s]et_uid() metze
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher1-7/+2
cli_state_[g|s]et_tid() metze
2011-07-20s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num()Stefan Metzmacher1-3/+3
This makes it clearer, why we send the pid value in the session setup. metze
2011-07-20s3:libsmb: smb_bytes_talloc_string() doesn't need a cli_stateStefan Metzmacher1-3/+3
metze
2011-07-11s3:libsmb: remove unused cli_set_port()Stefan Metzmacher1-1/+0
metze
2011-07-11s3:libsmb: also remember the local socket address after connectStefan Metzmacher1-0/+8
metze
2011-07-08s3:libsmb: remove unused cli->inbuf and cli->bufsizeStefan Metzmacher1-9/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 15:21:46 CEST 2011 on sn-devel-104
2011-07-07s3:libsmb: finally remove unused cli_state->outbufStefan Metzmacher1-5/+1
metze
2011-07-07s3:libsmb: use trans2_bytes_push_str() in cli_tcon_andx_create() for the ↵Stefan Metzmacher1-12/+11
plaintext password This makes sure we push the string always in DOS charset. metze
2011-06-20Use tevent_req_oomVolker Lendecke1-1/+1
This fixes a few Coverity errors
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-05-29s3: Remove unused cli_session_requestVolker Lendecke1-129/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104
2011-05-29s3: Remove unused cli_connectVolker Lendecke1-177/+0
2011-05-29s3: Add set_socket_options to cli_connect_sock()Volker Lendecke1-0/+1
A leftover of stuff that cli_connect() does Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 15:47:17 CEST 2011 on sn-devel-104
2011-05-29s3: Remove unused attempt_netbios_session_requestVolker Lendecke1-65/+0
2011-05-29s3: Extract the guest_login field in sesssetupVolker Lendecke1-4/+17