summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-10-18s3-libsmb Use a gensec module to provide the ntlmssp client in ntlmssp_wrap.cAndrew Bartlett1-82/+193
This removes the need to have if (ans->gensec_security) everywhere. Andrew Bartlett
2011-10-18s3-ntlmssp split auth_ntlmssp_client_start() into two partsAndrew Bartlett2-11/+16
This will allow it to be a wrapper around a gensec module, which requires that they options be set on a context, but before the mechanism is started. This also simplfies the callers, by moving the lp_*() calls into one place. Andrew Bartlett
2011-10-18gensec: move event context from gensec_*_init() to gensec_update()Andrew Bartlett1-1/+1
This avoids keeping the event context around on a the gensec_security context structure long term. In the Samba3 server, the event context we either supply is a NULL pointer as no server-side modules currently use the event context. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett6-8/+8
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18s3-auth Add my copyrightAndrew Bartlett1-1/+1
I have done plenty of work here, I deserve some of the blame :-) Andrew Bartlett
2011-10-18libsmbclient: initial ABI signaturesAndrew Tridgell1-0/+170
2011-10-18libsmbclient: add ABI checking and pc fileAndrew Tridgell1-0/+11
this gives us ABI checking for libsmbclient so that the waf build will prevent ABI breakage, and a public version number. The addition of the pc file makes this library available via pkgconfig, including querying of the version number Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-14Fix const warning.Jeremy Allison1-1/+1
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-30s3: Fix an uninitialized variable warningVolker Lendecke1-1/+1
2011-09-29s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv()Stefan Metzmacher1-3/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher1-5/+0
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher1-3/+2
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
2011-09-22s3: Fix Coverity ID 2619: UNINITVolker Lendecke1-0/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Sep 22 01:55:04 CEST 2011 on sn-devel-104
2011-09-22s3: Fix Coverity ID 2618: UNINITVolker Lendecke1-0/+2
2011-09-21Try and fix bug #8472 - Crash in asn.1 parsing code.Jeremy Allison1-1/+6
Found by Codenomicon at the SNIA plugfest. Don't keep going in the loop when reading the OIDs fail. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Sep 21 05:24:59 CEST 2011 on sn-devel-104
2011-09-21s3: Further fix for bug 8338Volker Lendecke1-2/+9
OS/X can not deal with a 10-vwv read on normal files. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Sep 21 00:51:08 CEST 2011 on sn-devel-104
2011-09-19s3:smb2cli: remove unused struct ntlmssp_state from smb2cli_session_setup_stateStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 19 06:06:46 CEST 2011 on sn-devel-104
2011-09-19s3:smb2cli: s/smb2cli_sesssetup_blob/smb2cli_session_setup/Stefan Metzmacher1-15/+15
metze
2011-09-18s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/Stefan Metzmacher2-17/+17
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 21:43:26 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher11-0/+25
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher11-17/+153
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
2011-09-18s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵Stefan Metzmacher1-1/+12
smb2 response metze
2011-09-18s3:smb2cli: ignore async interim responses and store the async_idStefan Metzmacher1-0/+12
metze
2011-09-18s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flagStefan Metzmacher1-0/+8
metze
2011-09-18s3:smb2cli: validate the opcode from the server is as expectedStefan Metzmacher1-3/+14
metze
2011-09-18s3:smb2cli: initialize status if we got an unexpected responseStefan Metzmacher1-0/+1
metze
2011-09-18s3:libsmb: return INTERNAL_ERROR if the request is in bad state when the ↵Stefan Metzmacher1-0/+8
caller ships it metze
2011-09-18s3:libsmb: return if tevent_req_set_endtime() failsStefan Metzmacher1-2/+4
tevent_req_set_endtime() already calls tevent_req_nomem(). metze
2011-09-18s3:smb2cli: SMB2_FLUSH responses have a body size of 4Stefan Metzmacher1-1/+1
metze
2011-09-16s3:libsmb: forward declaration for struct smb_trans_enc_stateStefan Metzmacher1-0/+2
metze
2011-09-15s3:libsmb: remove unused cli_*encryption* functionsStefan Metzmacher2-48/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 15 17:52:00 CEST 2011 on sn-devel-104
2011-09-15s3:libsmb: s/cli_encryption_on/cli_state_encryption_on()Stefan Metzmacher2-4/+4
metze
2011-09-15s3:libsmb: move cli->server{zone,time} to ↵Stefan Metzmacher2-10/+16
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 Metzmacher2-21/+77
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze
2011-09-15s3:libsmb: make use of cli_state_server_gss_blob()Stefan Metzmacher1-5/+9
metze
2011-09-15s3:libsmb: make use of cli_state_server_challenge()Stefan Metzmacher1-11/+8
metze
2011-09-15s3:libsmb: add cli_state_server_challenge() and cli_state_server_gss_blob()Stefan Metzmacher2-0/+18
metze
2011-09-15s3:libsmb: remove the guid from the cli->secblob in spnego modeStefan Metzmacher1-4/+8
metze
2011-09-15s3:libsmb: make sure cli->secblob.length is 8 if we get a challengeStefan Metzmacher1-2/+2
metze
2011-09-15s3:libsmb: restructure cli_negprot_done() secblob handling a bitStefan Metzmacher1-10/+13
metze
2011-09-15s3:libsmb: move cli->sesskey to cli->conn.smb1.server.session_keyStefan Metzmacher2-3/+6
metze
2011-09-15s3:libsmb: detect lock_read and write_unlock supportStefan Metzmacher1-0/+15
metze
2011-09-15s3:libsmb: move cli->*braw_supported to cli->conn.smb1.server.*brawStefan Metzmacher2-7/+9
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 Metzmacher2-6/+9
metze
2011-09-15s3:libsmb: move cli->max_mux to cli->conn.smb1.server.max_muxStefan Metzmacher2-5/+8
metze
2011-09-15s3:libsmb: move cli->max_xmit to cli->conn.smb1.max_xmitStefan Metzmacher2-8/+16
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 Metzmacher2-2/+3
metze
2011-09-15s3:libsmb: move cli->capabilities to cli->conn.smb1.capabilitiesStefan Metzmacher2-16/+23
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 Metzmacher2-5/+5
metze