Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in create_next_pdu_noauth() | Simo Sorce | 1 | -24/+14 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in create_next_pdu_schannel() | Simo Sorce | 1 | -87/+81 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in create_next_pdu_ntlmssp() | Simo Sorce | 1 | -38/+38 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Stop using hand marshalling in rpc_finish_auth3_bind_send() | Simo Sorce | 1 | -15/+9 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Do not parse the packet twice. | Simo Sorce | 1 | -17/+7 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Remove unused function | Simo Sorce | 1 | -36/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Do not reparse the header | Simo Sorce | 1 | -26/+15 | |
Instead pass back and use the packet we have already parsed. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Pull the whole packet at once instead of fetching just the header | Simo Sorce | 1 | -57/+68 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Delay parsing rpc header in client code | Simo Sorce | 1 | -19/+21 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-15 | Fix bug - 7551 smbclient does not return proper exit code. | Jeremy Allison | 1 | -0/+1 | |
Catch error in cli_push. Jeremy. | |||||
2010-07-15 | s3: Fix crashes in the printing code | Volker Lendecke | 1 | -0/+3 | |
create_conn_struct did not create the conn->sconn!=NULL assumption we now depend on. Thanks to Andreas Schneider for testing! | |||||
2010-07-14 | s3-dcerpc: Break memory hierarchy for shared structure | Simo Sorce | 1 | -1/+1 | |
Handles are shared among multiple pipes_struct. We cannot allocate them on any specific pipes_struct or it will vanish for all others as soon as that pipes_struct is freed, leaving back dangling pointers. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-07-14 | s3-dcerpc: fix crash bug in error path of process_complete_pdu(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-14 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 5 | -13/+19 | |
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3:smbd Give the kerberos session key a parent | Andrew Bartlett | 1 | -0/+2 | |
Nothing will free this, so this prevents a memory leak. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3:smbd Fix segfault if register_existing_vuid() fails | Andrew Bartlett | 1 | -4/+12 | |
The register_existing_vuid() call will handle both the ntlmssp_end and vuid invalidation internally, so we don't want to do it again. Andrew Bartlett Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-07-14 | s3-selftest: enable RPC-BIND against s3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-13 | s3-libnet: add missing header file, sorry. | Günther Deschner | 1 | -0/+13 | |
Guenther | |||||
2010-07-13 | s3-libnet: better separate headers. | Günther Deschner | 19 | -126/+61 | |
Guenther | |||||
2010-07-13 | s3-winbind: Don't cache queries to builtin and own sam domain. | Andreas Schneider | 1 | -3/+29 | |
2010-07-13 | s3-winbind: Set status before we leave in some msrpc functions. | Andreas Schneider | 1 | -0/+4 | |
2010-07-13 | Revert "Remove the global char *LastDir." | Jeremy Allison | 3 | -1/+22 | |
Volker pointed out I'd missed the "last directory" cache part of this code. Return us to caching the directory we're in (reduces sys call load). Mea maxima culpa. Jeremy. This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871. | |||||
2010-07-13 | s3-waf: fix the build. | Günther Deschner | 1 | -0/+1 | |
Guenther |