Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and ↵ | Andrew Bartlett | 1 | -10/+0 | |
auth_ntlmssp_negotiated_seal() We now just call the gensec_have_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3-ntlmssp Remove auth_ntlmssp_update wrapper | Andrew Bartlett | 2 | -9/+3 | |
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-21 | s3:libsmb/smb_seal: always use SAFE_FREE(buf) in common_free_enc_buffer() | Stefan Metzmacher | 1 | -14/+1 | |
There's no need to do gss-api specific stuff, the buffer is always malloc'ed. metze | |||||
2011-10-21 | s3:libsmb/smb_seal: use plain malloc() in common_ntlm_encrypt_buffer() | Stefan Metzmacher | 1 | -2/+7 | |
metze | |||||
2011-10-21 | s3:libsmb/smb_seal: avoid ads_errstr() dependency and use gssapi_error_string() | Stefan Metzmacher | 1 | -9/+28 | |
metze | |||||
2011-10-21 | s3:libsmb/smb_seal: make use of common [_]smb_[set]len_nbt() macros | Stefan Metzmacher | 1 | -11/+11 | |
metze | |||||
2011-10-20 | s3:libsmb/async_smb: in cli_state_notify_pending() we always disconnect | Stefan Metzmacher | 1 | -7/+5 | |
So we should always set state->mid = 0. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 20 11:34:23 CEST 2011 on sn-devel-104 | |||||
2011-10-19 | s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there | Stefan Metzmacher | 1 | -0/+13 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104 | |||||
2011-10-19 | s3:libsmb/smb_seal: s/uint16/uint16_t | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-10-19 | s3:include: move smb_seal.c prototypes to smb_crypt.h | Stefan Metzmacher | 2 | -9/+1 | |
metze | |||||
2011-10-19 | s3:libsmb/smb_seal: make common_ntlm_[en|de]crypt_buffer static | Stefan Metzmacher | 2 | -7/+2 | |
metze | |||||
2011-10-19 | s3: Remove duplicate fsctl function definitions | David Disseldorp | 1 | -1/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-19 | s3: Avoid a winbind 100% cpu loop | Volker Lendecke | 1 | -0/+8 | |
When a DC goes down hard, winbind can end up in a 100% CPU loop. The next (small) RPC request to the DC ends up as a trans2 request. If the connection goes down, we end up trying to discard the request via the loop in cli_state_notify_pending(). Because this is a trans2 request, cli_smb_req_unset_pending will not kick in. Thus the pending array will always remain at length 1. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 19 01:39:35 CEST 2011 on sn-devel-104 | |||||
2011-10-18 | s3-libsmb Use a gensec module to provide the ntlmssp client in ntlmssp_wrap.c | Andrew Bartlett | 1 | -82/+193 | |
This removes the need to have if (ans->gensec_security) everywhere. Andrew Bartlett | |||||
2011-10-18 | s3-ntlmssp split auth_ntlmssp_client_start() into two parts | Andrew Bartlett | 2 | -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-18 | gensec: move event context from gensec_*_init() to gensec_update() | Andrew Bartlett | 1 | -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-18 | ntlmssp: Move ntlmssp code to auth/ntlmssp | Andrew Bartlett | 6 | -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-18 | s3-auth Add my copyright | Andrew Bartlett | 1 | -1/+1 | |
I have done plenty of work here, I deserve some of the blame :-) Andrew Bartlett | |||||
2011-10-18 | libsmbclient: initial ABI signatures | Andrew Tridgell | 1 | -0/+170 | |
2011-10-18 | libsmbclient: add ABI checking and pc file | Andrew Tridgell | 1 | -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-14 | Fix const warning. | Jeremy Allison | 1 | -1/+1 | |
2011-10-12 | s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value | Gregor Beck | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-09-30 | s3: Fix an uninitialized variable warning | Volker Lendecke | 1 | -1/+1 | |
2011-09-29 | s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv() | Stefan Metzmacher | 1 | -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-28 | s3:libsmb: remove unused TALLOC_FREE(subreq) calls in | Stefan Metzmacher | 1 | -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-28 | s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv() | Stefan Metzmacher | 1 | -3/+2 | |
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze | |||||
2011-09-22 | s3: Fix Coverity ID 2619: UNINIT | Volker Lendecke | 1 | -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-22 | s3: Fix Coverity ID 2618: UNINIT | Volker Lendecke | 1 | -0/+2 | |
2011-09-21 | Try and fix bug #8472 - Crash in asn.1 parsing code. | Jeremy Allison | 1 | -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-21 | s3: Further fix for bug 8338 | Volker Lendecke | 1 | -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-19 | s3:smb2cli: remove unused struct ntlmssp_state from smb2cli_session_setup_state | Stefan Metzmacher | 1 | -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-19 | s3:smb2cli: s/smb2cli_sesssetup_blob/smb2cli_session_setup/ | Stefan Metzmacher | 1 | -15/+15 | |
metze | |||||
2011-09-18 | s3:smb2cli: s/smb2cli_sesssetup/smb2cli_sesssetup_ntlmssp/ | Stefan Metzmacher | 2 | -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-18 | s3:smb2cli: pass timeout to smb2cli_req_create/send() | Stefan Metzmacher | 11 | -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-18 | s3:smb2cli: pass an array of expected status/body_size pairs to ↵ | Stefan Metzmacher | 11 | -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-18 | s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵ | Stefan Metzmacher | 1 | -1/+12 | |
smb2 response metze | |||||
2011-09-18 | s3:smb2cli: ignore async interim responses and store the async_id | Stefan Metzmacher | 1 | -0/+12 | |
metze | |||||
2011-09-18 | s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flag | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2011-09-18 | s3:smb2cli: validate the opcode from the server is as expected | Stefan Metzmacher | 1 | -3/+14 | |
metze | |||||
2011-09-18 | s3:smb2cli: initialize status if we got an unexpected response | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-09-18 | s3:libsmb: return INTERNAL_ERROR if the request is in bad state when the ↵ | Stefan Metzmacher | 1 | -0/+8 | |
caller ships it metze | |||||
2011-09-18 | s3:libsmb: return if tevent_req_set_endtime() fails | Stefan Metzmacher | 1 | -2/+4 | |
tevent_req_set_endtime() already calls tevent_req_nomem(). metze | |||||
2011-09-18 | s3:smb2cli: SMB2_FLUSH responses have a body size of 4 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-09-16 | s3:libsmb: forward declaration for struct smb_trans_enc_state | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-09-15 | s3:libsmb: remove unused cli_*encryption* functions | Stefan Metzmacher | 2 | -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-15 | s3:libsmb: s/cli_encryption_on/cli_state_encryption_on() | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2011-09-15 | s3:libsmb: move cli->server{zone,time} to ↵ | Stefan Metzmacher | 2 | -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-15 | s3:libsmb: split cli->secblob into ↵ | Stefan Metzmacher | 2 | -21/+77 | |
cli->conn.smb1.server.{guid,gss_blob,challenge,workgroup} metze | |||||
2011-09-15 | s3:libsmb: make use of cli_state_server_gss_blob() | Stefan Metzmacher | 1 | -5/+9 | |
metze | |||||
2011-09-15 | s3:libsmb: make use of cli_state_server_challenge() | Stefan Metzmacher | 1 | -11/+8 | |
metze |