summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/clientgen.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb: remove unused cli_state->user_session_keyStefan Metzmacher2012-08-011-2/+0
| | | | metze
* s3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tidStefan Metzmacher2012-07-241-4/+8
| | | | metze
* s3:libsmb: make use of cli_state_[g|s]et_tid()Stefan Metzmacher2012-07-241-1/+3
| | | | metze
* param: Make the 'unicode' parameter commonAndrew Bartlett2012-07-241-0/+3
| | | | | | This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
* s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes2012-07-231-4/+7
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Add cli_state->pw_nt_hashVolker Lendecke2012-06-121-0/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: remove unused 'inbuf' variableStefan Metzmacher2012-06-051-2/+1
| | | | metze
* s3:libsmb: get rid of cli_ucs2Luk Claes2012-05-281-9/+0
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
* s3:libsmb: get rid of cli_has_async_callsLuk Claes2012-05-281-2/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_disconnectLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_time_zoneLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_security_modeLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_gss_blobLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_challengeLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_encryption_onLuk Claes2012-05-281-6/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_max_requestsLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_server_session_keyLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_capabilitiesLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_protocolLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-281-5/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-281-10/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_sockoptLuk Claes2012-05-281-9/+0
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: remove unused (un)set_pending functionsLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-241-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
* s3:libsmb: pass smb2 capabilities and client guid in cli_state_create()Stefan Metzmacher2012-03-031-2/+7
| | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org>
* smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam2012-03-031-1/+2
| | | | Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* After a discussion with Volker, sdd a backup_intent state to the client struct.Jeremy Allison2011-12-011-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.
* s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher2011-11-241-140/+43
| | | | | | smbXcli_conn/smbXcli_req metze
* s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach2011-11-161-0/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: always init cli->{server_os,server_domain,server_type}Stefan Metzmacher2011-11-161-0/+13
| | | | | | We should do that at creation time of cli_state. metze
* s3:libsmb: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-031-5/+5
| | | | metze
* s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher2011-11-031-1/+0
| | | | | | So remove the special case for 'Auto'. metze
* s3:libsmb: restore the 3.6.x behavior signing config parametersStefan Metzmacher2011-11-031-7/+1
| | | | metze
* libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher2011-10-251-1/+1
| | | | metze
* libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher2011-10-211-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
* s3:include: move smb_seal.c prototypes to smb_crypt.hStefan Metzmacher2011-10-191-0/+1
| | | | metze
* s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher2011-09-151-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
* s3:libsmb: split cli->secblob into ↵Stefan Metzmacher2011-09-151-9/+2
| | | | | | cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
* s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()Stefan Metzmacher2011-09-151-0/+16
| | | | metze
* s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: move cli->sec_mode to cli->conn.smb1.server.security_modeStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher2011-09-151-2/+4
| | | | | | | And keep cli->conn.smb1.client.max_xmit and cli->conn.smb1.server.max_xmit. metze
* s3:libsmb: move cli->smb1.mid to cli->conn.smb1.midStefan Metzmacher2011-09-151-1/+2
| | | | metze
* s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher2011-09-151-12/+14
| | | | | | | And keep cli->conn.smb1.client.capabilities and cli->conn.smb1.server_capabilities. metze
* s3:libsmb: move cli->protocol to cli->conn.protocolStefan Metzmacher2011-09-151-1/+1
| | | | metze
* s3:libsmb: don't set cli->protocol in cli_state_create()Stefan Metzmacher2011-09-151-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
* s3:libsmb: use local variables in cli_state_create()Stefan Metzmacher2011-09-151-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
* s3:libsmb: use CAP_EXTENDED_SECURITY instead of cli->use_spnegoStefan Metzmacher2011-09-151-1/+1
| | | | | | cli->capabilities contains the negotiated capabilities. metze
* s3:libsmb: calculate all SMB1 capabilities we want to support for the connectionStefan Metzmacher2011-09-151-2/+24
| | | | | | | | We should do this at startup in cli_state_create() and later calculate the negotiated capabilities in cli_negprot_done(). metze