summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/smb2cli_session.c
Commit message (Collapse)AuthorAgeFilesLines
* smb2: Move smb2cli session setup code to cli_smb_common.Jelmer Vernooij2012-03-251-207/+0
|
* s3:libsmb:smb2: pass previous session ID to session setup, not previous sessionMichael Adam2012-02-281-8/+2
| | | | | We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
* s3:smb2cli: free session in smb2cli_logoff*Stefan Metzmacher2011-11-241-1/+7
| | | | metze
* s3:smb2cli: remove unused smb2cli_sesssetup_ntlmssp*Stefan Metzmacher2011-11-241-203/+0
| | | | metze
* s3:libsmb: implement cli_state based functions on top of ↵Stefan Metzmacher2011-11-241-4/+4
| | | | | | smbXcli_conn/smbXcli_req metze
* s3:smb2cli: make smb2cli_session_setup_send/recv non-staticStefan Metzmacher2011-11-241-5/+5
| | | | metze
* s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher2011-11-241-53/+164
| | | | | | signing metze
* ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett2011-10-181-1/+1
| | | | | | | | | This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smb2cli: remove unused struct ntlmssp_state from smb2cli_session_setup_stateStefan Metzmacher2011-09-191-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 19 06:06:46 CEST 2011 on sn-devel-104
* s3:smb2cli: s/smb2cli_sesssetup_blob/smb2cli_session_setup/Stefan Metzmacher2011-09-191-15/+15
| | | | metze
* s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher2011-09-181-14/+14
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
* s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher2011-09-181-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
* s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher2011-09-181-3/+21
| | | | | | | | | smb2cli_req_recv() This gives the caller more control and correctly reports unexpected errors to the caller, instead of return NT_STATUS_INVALID_NETWOR_RESPONSE metze
* s3:smb2cli: pass the uid to the SMB2_SESSION_SETUP to support multi-leg-authStefan Metzmacher2011-09-071-1/+2
| | | | metze
* s3:smb2cli: SMB2_SESSION_SETUP needs one dyn byte to that the structure size ↵Stefan Metzmacher2011-09-071-1/+12
| | | | | | | | check works. Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: ask for a session key in smb2cli_sesssetup_send()Stefan Metzmacher2011-09-031-0/+3
| | | | | | | | | This is needed if we want to support SMB2 signing later. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 3 16:21:35 CEST 2011 on sn-devel-104
* s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send()Stefan Metzmacher2011-08-121-2/+9
| | | | | | | | | The caller should take care of the global cli_state values. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 19:38:27 CEST 2011 on sn-devel-104
* s3:libsmb: add smb2cli_sesssetup*() and smb2cli_logoff*()Stefan Metzmacher2011-07-081-0/+387
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze