summaryrefslogtreecommitdiff
path: root/source3/libsmb/clientgen.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij1-1/+1
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
2012-03-03s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher1-2/+7
metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-03smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam1-1/+2
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2011-12-01After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison1-0/+11
This causes the backup_intent flags to be added to findfirst/findnext and ntcreate/nttrans_create calls. cli_set_backup_intent() sets the flag and returns the old value of its state.
2011-11-24s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher1-140/+43
smbXcli_conn/smbXcli_req metze
2011-11-16s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-16s3:libsmb: always init cli->{server_os,server_domain,server_type}Stefan Metzmacher1-0/+13
We should do that at creation time of cli_state. metze
2011-11-03s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher1-5/+5
metze
2011-11-03s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher1-1/+0
So remove the special case for 'Auto'. metze
2011-11-03s3:libsmb: restore the 3.6.x behavior signing config parametersStefan Metzmacher1-7/+1
metze
2011-10-25libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher1-1/+1
metze
2011-10-21libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
2011-10-19s3:include: move smb_seal.c prototypes to smb_crypt.hStefan Metzmacher1-0/+1
metze
2011-09-15s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher1-2/+2
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-9/+2
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
2011-09-15s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()Stefan Metzmacher1-0/+16
metze
2011-09-15s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher1-1/+1
metze
2011-09-15s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_modeStefan Metzmacher1-1/+1
metze
2011-09-15s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher1-1/+1
metze
2011-09-15s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher1-2/+4
And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze
2011-09-15s3:libsmb: move cli->smb1.mid to cli->conn.smb1.midStefan Metzmacher1-1/+2
metze
2011-09-15s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher1-12/+14
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-1/+1
metze
2011-09-15s3:libsmb: don't set cli->protocol in cli_state_create()Stefan Metzmacher1-1/+0
This is done in cli_negprot_done(), when we know the protocol. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 11:57:18 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher1-12/+14
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: use CAP_EXTENDED_SECURITY instead of cli->use_spnegoStefan Metzmacher1-1/+1
cli->capabilities contains the negotiated capabilities. metze
2011-09-15s3:libsmb: calculate all SMB1 capabilities we want to support for the connectionStefan Metzmacher1-2/+24
We should do this at startup in cli_state_create() and later calculate the negotiated capabilities in cli_negprot_done(). metze
2011-09-14s3:libsmb: make use of new advanded SMB signingStefan Metzmacher1-17/+30
metze
2011-09-14s3:smb_signing: add support for easier negotiation of SMB signingStefan Metzmacher1-0/+1
We don't make use of it yet, but it will follow. metze
2011-09-13s3:libsmb: add cli_state_server_time()Stefan Metzmacher1-0/+5
metze
2011-09-13s3:libsmb: add cli_state_server_time_zone()Stefan Metzmacher1-0/+5
metze
2011-09-13s3:libsmb: add cli_state_server_session_key()Stefan Metzmacher1-0/+5
metze
2011-09-13s3:libsmb: add cli_state_security_mode()Stefan Metzmacher1-0/+5
metze
2011-09-13s3:libsmb: add cli_state_max_requests()Stefan Metzmacher1-0/+5
metze
2011-09-13s3:libsmb: set the MID to 0 in cli_setup_packet_buf()Stefan Metzmacher1-1/+1
It's allocated when sending the request. metze
2011-09-13s3:libsmb: add cli_state_available_size()Stefan Metzmacher1-0/+13
metze
2011-09-08s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCIIStefan Metzmacher1-0/+8
metze
2011-09-08s3:libsmb: add CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher1-1/+4
metze
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags to cli_state_create()Stefan Metzmacher1-1/+22
metze
2011-08-10s3:libsmb: store the remote_realm on the cli_stateStefan Metzmacher1-0/+13
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_protocol()Stefan Metzmacher1-1/+1
metze
2011-08-02s3:libsmb: add cli_state_protocol()Stefan Metzmacher1-0/+5
metze
2011-08-02s3:libsmb/cli*: make use of cli_state_capabilities()Stefan Metzmacher1-4/+4
metze
2011-08-02s3:libsmb: add cli_state_capabilities()Stefan Metzmacher1-0/+5
metze
2011-07-22s3:libsmb: move cli_state->desthost to cli_state->conn.remote_nameStefan Metzmacher1-4/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 18:17:41 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb: add cli_state_remote_name()Stefan Metzmacher1-0/+5
metze
2011-07-22s3:libsmb: move cli_state->{src_ss,dest_ss} to ↵Stefan Metzmacher1-6/+6
cli_state->conn.{local_ss,remote_ss} metze
2011-07-22s3:libsmb: add cli_state_[local|remote]_sockaddr()Stefan Metzmacher1-0/+10
metze
2011-07-22s3:libsmb: move cli_state->fd to cli_state->conn.fdStefan Metzmacher1-3/+2
metze
2011-07-22s3:libsmb: make use of cli_state_disconnect()Stefan Metzmacher1-4/+1
metze