summaryrefslogtreecommitdiff
path: root/source3/include/client.h
AgeCommit message (Collapse)AuthorFilesLines
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
2011-07-21s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵Stefan Metzmacher1-1/+1
cli_state_[g|s]et_uid() metze
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher1-1/+1
cli_state_[g|s]et_tid() metze
2011-07-20s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid()Stefan Metzmacher1-1/+1
metze
2011-07-20s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num()Stefan Metzmacher1-0/+1
This makes it clearer, why we send the pid value in the session setup. metze
2011-07-20s3:libsmb: move cli->mid to cli->smb1.midStefan Metzmacher1-1/+4
metze
2011-07-12s3:libsmb: remove unused cli_oplock_handler()Stefan Metzmacher1-3/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
2011-07-12s3:libsmb: remove unused cli->privilegesStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104
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/+1
metze
2011-07-08s3:libsmb: remove unused cli->inbuf and cli->bufsizeStefan Metzmacher1-2/+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-08s3:libsmb: don't use the cli->inbuf to store the last errorStefan Metzmacher1-0/+1
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze
2011-07-08s3:libsmb: remove unused enum smb_read_errors infrastructureStefan Metzmacher1-2/+0
metze
2011-07-08s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()Stefan Metzmacher1-0/+5
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add smb2cli_negprot*()Stefan Metzmacher1-0/+11
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze
2011-07-08s3:libsmb: add basic smb2 client infrastructureStefan Metzmacher1-0/+7
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze