Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2010-07-16 | s3-registry: use some prs macros to the only place where they are used. | Günther Deschner | 2 | -4/+6 | |
Guenther | |||||
2010-07-16 | s3-waf: fix the build. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2010-07-16 | s3-dcerpc: fix c++ warning. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-16 | Move the remnants of rpc_parse code under registry/ | Simo Sorce | 10 | -94/+125 | |
The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-parse_prs: Remove unuesd functions | Simo Sorce | 2 | -59/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use a local function to dump pdu regions | Simo Sorce | 2 | -6/+49 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-misc: Move smb_io_time() to regfio.c | Simo Sorce | 4 | -64/+33 | |
This is the last file using this function and we do not want anyone else to keep using hand marshalled stuff anyway. So make it also private to that file. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use DATA_BLOB for pipes_struct input data | Simo Sorce | 6 | -86/+29 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_data | Simo Sorce | 3 | -19/+11 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use DATA_BLOB instead of prs_struct for rpc_out | Simo Sorce | 1 | -122/+108 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Avoid unnecessary memory allocation for dcerpc_ctx_list | Simo Sorce | 1 | -35/+7 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pdu | Simo Sorce | 3 | -86/+75 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Use DATA_BLOB instead of prs_struct for incoming fragments | Simo Sorce | 1 | -169/+84 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Read a pdu in 2 steps, header first the payload | Simo Sorce | 1 | -18/+8 | |
We can't really cope with receiving more data than expected anyway as there is code that checks if the size of the buffer is consistent with pkt->frag_length and throws an error if not. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dceprc: Use IDL defined constants for length calculations | Simo Sorce | 3 | -51/+47 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | Reformat and cleanup | Simo Sorce | 1 | -75/+75 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Move common helpers into a common file | Simo Sorce | 5 | -165/+241 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Padding is never done on a DCERPC_PKT_BIND_ACK packet. | Simo Sorce | 1 | -24/+2 | |
Empirically verified against Windows. It never pads the auth credentials on this packet type. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | dcerpc: remove ncacn_packet_header and related functions | Simo Sorce | 2 | -68/+0 | |
ncacn_packet_header was an artifact and it is not necessary anymore Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Refactor code and stop using ncacn_packet_header | Simo Sorce | 1 | -202/+164 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: consolidate respones packet creation code | Simo Sorce | 4 | -452/+236 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOB | Simo Sorce | 3 | -210/+134 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOB | Simo Sorce | 7 | -63/+45 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Remove unused functions and headers | Simo Sorce | 5 | -175/+6 | |
parse_rpc.c is dead, long live parse_rpc.c ! Signed-off-by: Günther Deschner <gd@samba.org> |