Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-20 | Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵ | Jeremy Allison | 10 | -74/+65 | |
contexts. Jeremy. | |||||
2010-07-20 | Fix warning on 64-bit machines. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-07-20 | Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵ | Jeremy Allison | 7 | -22/+32 | |
context tallocs. Jeremy. | |||||
2010-07-20 | Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce | Jeremy Allison | 8 | -27/+35 | |
use of malloc, and data_blob(). Jeremy. | |||||
2010-07-20 | s3: Fix two uninitialized variables | Volker Lendecke | 1 | -2/+2 | |
2010-07-20 | Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit() | Jeremy Allison | 4 | -8/+8 | |
as this correctly describes what this function does. Jeremy. | |||||
2010-07-20 | Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, ↵ | Jeremy Allison | 3 | -49/+3 | |
but a TokenInit one. Move to using spnego_gen_negTokenInit() instead. Jeremy | |||||
2010-07-20 | Fixes pointed out by <david.kondrad@legrand.us>. Free memory if not being | Jeremy Allison | 1 | -38/+37 | |
returned to caller. Remove unneeded asn1_tag_remaining() calls. Jeremy. | |||||
2010-07-20 | Fix warning - no return value for a non-void fn. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2010-07-20 | s3: also run the test prog from the explicit external lib bug check | Björn Jacke | 1 | -2/+5 | |
on Linux linking already stops with a broken ld, on FreeBSD8 linking works but the binary is broken, so we must check both. this should be the final fix for bug #7561 | |||||
2010-07-20 | dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually ↵ | Simo Sorce | 1 | -2/+2 | |
represent. | |||||
2010-07-20 | s3: check for explicit external lib bug in ld's as-needed code | Björn Jacke | 1 | -0/+34 | |
Second part of fix for bug #7561 Based on test provided by Olaf Flebbe. | |||||
2010-07-20 | s3: add configure swtich to manually disable as-needed | Björn Jacke | 1 | -3/+9 | |
first part fix for bug #7561 based on earlier patch from metze | |||||
2010-07-20 | Revert "s3: Don't use as-needed" | Björn Jacke | 1 | -0/+33 | |
This reverts commit b9835a1f9d8b81e4121a01a190dffaefe67cbe5c. | |||||
2010-07-20 | s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_data | Simo Sorce | 5 | -71/+71 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Add auth_ntlmssp wrapper for client side | Simo Sorce | 2 | -0/+75 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Move auth_ntlmssp wrappers in their own file | Simo Sorce | 9 | -103/+194 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-20 | s3-auth: Refactor and rename auth_ntlmssp_server_info() | Simo Sorce | 5 | -17/+20 | |
Rename it to auth_ntlmssp_steal_server_info() to make it clear that the server_info struct is stolen from the auth_ntlmssp_state structure. Use talloc_move instead of manual steal&clear Add comments to explain what is going on. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit(). | Jeremy Allison | 6 | -61/+28 | |
We now have one function to do this in all calling code. More rationalization to follow. Jeremy. | |||||
2010-07-19 | Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() and | Jeremy Allison | 5 | -32/+37 | |
into negprot_spnego() where it belongs (it's not an SPNEGO operation). Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all the gen_negTokenXXX calls. Jeremy. | |||||
2010-07-19 | Remove parse_negTokenTarg(), as it's actually incorrect. We're processing | Jeremy Allison | 6 | -80/+30 | |
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy. | |||||
2010-07-19 | Fix [Bug 7577] SPNEGO auth fails when contacting Win7 system using Microsoft ↵ | Jeremy Allison | 1 | -7/+54 | |
Live Sign-in Assistant Based on code from <david.kondrad@legrand.us>. Cope with every NegTokenInit ::= SEQUENCE value. Jeremy. | |||||
2010-07-19 | s3: Avoid pwrite calls for the 1-byte writes with zero content | Volker Lendecke | 1 | -4/+50 | |
When a write cache is empty and we write one 0, there is no point in actually writing into the write cache, which would trigger a potentially superfluous write cache flush. We can rely on posix semantics to give us 0's when subsequent read calls want to read from file areas not written yet. Jeremy, please check! | |||||
2010-07-19 | s3-auth: Remove unused variable. | Simo Sorce | 1 | -2/+0 | |
It was a spurious remnant after a rebase. | |||||
2010-07-19 | waf-idl: put the gen_ndr/README file for source3 back | Andrew Tridgell | 1 | -0/+4 | |
This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably accidentially. | |||||
2010-07-19 | s3-rpc_server: Added callbacks for init and shutdown of a rpc service. | Andreas Schneider | 5 | -14/+85 | |
This adds two callback function for each rpc service. One is for initialisation and the other for shutdown. rpc_<service>_unregister() needs to be called to execute the shutdown function. | |||||
2010-07-19 | s3-rpc_server: Don't register the same rpc commands twice. | Andreas Schneider | 1 | -6/+4 | |
2010-07-19 | s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts | Simo Sorce | 7 | -26/+26 | |
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state. Remote auth_ntlmssp_end and use TALLOC_FREE in the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: auth_make ntlmssp_state the parent context | Simo Sorce | 1 | -29/+12 | |
There is no need for a separate mem_ctx member. Also make the ntlmssp_state a children of auth_ntlmssp_state Also cleanup auth_ntlmssp_end to free only what is not automatically freed Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: Simplify how we free the auth_context | Simo Sorce | 8 | -28/+26 | |
Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-auth: Cleanup and readability fixes | Simo Sorce | 1 | -21/+23 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it. | Simo Sorce | 9 | -49/+31 | |
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-18 | s3: Actually use the usecs in aio_fork_suspend | Volker Lendecke | 1 | -1/+2 | |
Jeremy, please check! | |||||
2010-07-18 | s3: Fix an uninitialized variable | Volker Lendecke | 1 | -1/+1 | |
2010-07-18 | s3: Work better without the aio sighandler | Volker Lendecke | 1 | -7/+22 | |
Refuse async I/O if we can't set up the signal handler | |||||
2010-07-18 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -6/+4 | |
2010-07-18 | s3: Remove a direct use of procid_self() | Volker Lendecke | 1 | -3/+5 | |
2010-07-18 | s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap(). | Andreas Schneider | 1 | -4/+23 | |
This fixes the WINBIND-WBCLIENT test. The test set old_lm_hash_enc_blob.length to 0 and we don't check the length here. So the memcpy segfaulted. | |||||
2010-07-18 | s3-waf: Fixed the build. | Andreas Schneider | 1 | -2/+4 | |
2010-07-18 | s3: Don't use as-needed | Volker Lendecke | 1 | -33/+0 | |
This is just broken. RHEL5 can't deal with it, FreeBSD8 is broken with it, and who knows what other platforms are broken. I can rather live with a system that links in a bit too much than a system that does not work at all. | |||||
2010-07-17 | s3-dcerpc: Fix build and remove unneeded headers | Simo Sorce | 1 | -3/+0 | |
Sorry, botched a rebase. | |||||
2010-07-17 | s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.c | Simo Sorce | 3 | -463/+492 | |
2010-07-17 | s3-dcerpc: Move common cli/srv functions into a common file | Simo Sorce | 3 | -216/+243 | |
2010-07-17 | s3: Really fix the 64-bit warnings | Volker Lendecke | 1 | -1/+1 | |
Hmm. Forgot to git commit this piece, sorry :-( | |||||
2010-07-17 | s3: Fix some 64-bit warnings | Volker Lendecke | 1 | -1/+3 | |
2010-07-17 | s3: Right now we do not have includes in Makefile.in | Volker Lendecke | 1 | -11/+1 | |
Skip the expansion step on non-GNU-make systems | |||||
2010-07-17 | s3-build: add LIBNDR_XATTR_OBJ. | Günther Deschner | 2 | -4/+8 | |
Guenther | |||||
2010-07-16 | s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL. | Günther Deschner | 3 | -5/+3 | |
Guenther | |||||
2010-07-16 | s3-dcerpc: Fix ability to receive Big Endian PDUs | Simo Sorce | 6 | -28/+57 | |
2010-07-16 | Make the "map to guest" parameter work correctly with NTLMSSP (spnego | Jeremy Allison | 3 | -10/+38 | |
and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy. |