summaryrefslogtreecommitdiff
path: root/source3/include/client.h
AgeCommit message (Collapse)AuthorFilesLines
2013-10-17s3:libsmb: remove unused cli_state->case_sensitiveStefan Metzmacher1-2/+0
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-10-17s3:libsmb: remove unused cli_state->dfsrootStefan Metzmacher1-1/+0
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10200 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-08-15s3:libsmb: Add in the core of the libsmb client SMB2 functions.Jeremy Allison1-0/+1
These create a synchronous cli_smb2_XXX() style interface designed to plug directly into the libsmb/cliXXXX.c code. https://bugzilla.samba.org/show_bug.cgi?id=9974 Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2013-08-10s3:libsmb: remove unused cli_state->is_guestloginStefan Metzmacher1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-12-06Clean up client timeout definitions [rev. 2]Scott Lovenberg1-0/+3
The definitions for default client timeout values have been moved to client.h. When initializing a client struct we use this value instead of the old hardcoded value. The timeout value remains 20 seconds. Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com> Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Dec 6 03:25:58 CET 2012 on sn-devel-104
2012-08-01s3:libsmb: remove unused cli_state->user_session_keyStefan Metzmacher1-4/+0
metze
2012-07-25s3:libsmb: remove unused cli_state->smb2.pidStefan Metzmacher1-1/+0
metze
2012-07-25s3:libsmb: remove unused tcon specific elements from cli_state->smb2Stefan Metzmacher1-6/+0
metze
2012-07-25s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher1-1/+0
metze
2012-07-24s3:libsmb: setup a smbXcli_tcon for SMB2Stefan Metzmacher1-0/+1
metze
2012-07-24s3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tidStefan Metzmacher1-1/+1
metze
2012-07-23s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes1-1/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3: Add cli_state->pw_nt_hashVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3: Add CLI_FULL_CONNECTION_USE_NT_HASHVolker Lendecke1-0/+1
... as an indicator that the password supplied is the NT hash Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-01After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison1-0/+1
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-60/+2
smbXcli_conn/smbXcli_req metze
2011-11-24s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher1-1/+2
signing metze
2011-11-24s3:smb2cli: implement smb2cli_negprot() on top of smbXcli_negprot()Stefan Metzmacher1-12/+0
metze
2011-11-24s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵Stefan Metzmacher1-1/+4
code 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-04s3:libsmb: also remember the optional server name from the negprot responseStefan Metzmacher1-0/+1
W2K (at least sp4) and higher also send the server name. 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-1/+4
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
2011-09-15s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher1-1/+1
metze
2011-09-15s3:libsmb: detect lock_read and write_unlock supportStefan Metzmacher1-0/+2
metze
2011-09-15s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*brawStefan Metzmacher1-2/+2
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-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-1/+3
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-1/+12
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/+2
metze
2011-09-15s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher1-4/+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-14s3:libsmb: remove unused cli->is_sambaStefan Metzmacher1-1/+0
s3:libsmb: remove unused cli->is_samba metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-14s3:client.h: remove unused definesStefan Metzmacher1-9/+0
s3:client.h: remove unused defines metze Signed-off-by: Jeremy Allison <jra@samba.org>
2011-09-13s3:smb2cli: split cli->smb2.gss_blob from cli->secblobStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 13 23:34:13 CEST 2011 on sn-devel-104
2011-09-13s3:libsmb: don't mix smb2 share capabilities with smb1 capabilitiesStefan Metzmacher1-0/+1
metze
2011-09-13s3:libsmb: the smb2 server capabilities from the session setup are 32-bitStefan Metzmacher1-1/+1
metze
2011-09-08s3:libsmb: add CLI_FULL_CONNECTION_FORCE_ASCIIStefan Metzmacher1-0/+2
metze
2011-09-08s3:libsmb: add CLI_FULL_CONNECTION_FORCE_DOS_ERRORSStefan Metzmacher1-0/+1
metze
2011-08-12s3:libsmb: abstract the incoming dispatch function via a function pointerStefan Metzmacher1-0/+11
This will allow handling of SMB2 in future. metze
2011-08-10s3:libsmb: store the remote_realm on the cli_stateStefan Metzmacher1-0/+1
metze
2011-08-02s3:include: change cli->protocol to enum protocol_typesStefan Metzmacher1-1/+1
metze
2011-07-27s3: Fix async smb handlingVolker Lendecke1-0/+1
In cli_echo with more than one response we ended up with more than one read_smb request. One from the call to cli_smb_req_set_pending called from cli_smb_received. The other one from cli_smb_received itself. I don't really see another way to deal with this than to hold the read_smb request in the cli_state. Metze, please check! Volker
2011-07-22s3:libsmb: move cli_state->desthost to cli_state->conn.remote_nameStefan Metzmacher1-2/+1
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: move cli_state->{src_ss,dest_ss} to ↵Stefan Metzmacher1-2/+2
cli_state->conn.{local_ss,remote_ss} metze
2011-07-22s3:libsmb: move cli_state->fd to cli_state->conn.fdStefan Metzmacher1-1/+1
metze
2011-07-22s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoingStefan Metzmacher1-2/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb: move cli_state->pending to cli_state->conn.pendingStefan Metzmacher1-1/+4
metze
2011-07-21s3:include: remove unused cli_state->called and cli_state->callingStefan Metzmacher1-2/+0
metze