Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
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 | 1 | -3/+4 | |
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-13 | s3-libnet: better separate headers. | Günther Deschner | 1 | -1/+2 | |
Guenther | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context() | Simo Sorce | 1 | -104/+76 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations. | Simo Sorce | 1 | -41/+32 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req() | Simo Sorce | 1 | -111/+89 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copy | Simo Sorce | 1 | -105/+52 | |
Also move dcerpc_push_dcerpc_auth() invocation in api_pipe_bind_req() to simplify the workflow. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memory | Simo Sorce | 1 | -30/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address | Simo Sorce | 1 | -2/+2 | |
There is no need to copy the whole structure twice by passing it in by value. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: pass the packet to setup_bind_nack() | Simo Sorce | 1 | -6/+6 | |
Allows to not rely on p->call_id but use the value directly from the request packet header. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Add debug messages | Simo Sorce | 1 | -0/+10 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused functions | Simo Sorce | 2 | -375/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requests | Simo Sorce | 2 | -385/+399 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Store opnum in its own variable | Simo Sorce | 7 | -13/+16 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct | Simo Sorce | 2 | -39/+34 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth() | Simo Sorce | 1 | -17/+23 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel() | Simo Sorce | 1 | -15/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp() | Simo Sorce | 1 | -21/+26 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc delay rpc header unmarshalling | Simo Sorce | 1 | -49/+70 | |
Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_set_frag_length() | Simo Sorce | 1 | -4/+5 | |
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-08 | s3-dcerpc: Use dcerpc_pull_dcerpc_auth in api_pipe_bind_auth3() | Simo Sorce | 1 | -19/+13 | |
2010-07-08 | s3-dcerpc: Use dcerpc_auth in api_pipe_bind_req() | Simo Sorce | 1 | -82/+85 | |
2010-07-08 | s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR. | Günther Deschner | 4 | -10/+154 | |
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther | |||||
2010-07-08 | s3:dcerpc Use prs_parse_dcerpc_bind | Simo Sorce | 1 | -27/+36 | |
2010-07-08 | s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT | Simo Sorce | 1 | -9/+13 | |
2010-07-07 | s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_fault_pdu(). | Günther Deschner | 1 | -28/+18 | |
Guenther Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-07-07 | s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_bind_nak(). | Günther Deschner | 1 | -14/+16 | |
Guenther Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-07-06 | s3: Fix a segfault in the RPC server | Volker Lendecke | 1 | -8/+9 | |
After converting the rpc infratructure to talloc, read_from_internal_pipe freed the outdata too early. If the last fragment was read in two pieces (as rpcclient does it), all the outdata was freed during the read of the first piece of the read of the last fragment. Later read&x calls, trying to read the rest of the last fragment stepped into p->out_data.frag with non-zero offset when this was already freed. | |||||
2010-07-05 | samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
See MS-SAMR section "FULL IDL" | |||||
2010-07-05 | s3: Remove procid_self() from srv_spoolss_reply[open|close]printer() | Volker Lendecke | 1 | -2/+2 | |
2010-07-05 | s3: Remove procid_self() from srv_spoolss_drv_upgrade_printer() | Volker Lendecke | 1 | -1/+2 | |
2010-07-04 | s3: Replace register_message_flags() with serverid_register_msg_flags() | Volker Lendecke | 1 | -2/+6 | |
message_send_all is now done by walking the serverid.tdb, not the connections.tdb anymore. Günther, Simo, please check! | |||||
2010-07-02 | s3-registry: remove unused reg_util_marshalling code. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-07-02 | s3-registry: avoid using registry_value union. | Günther Deschner | 2 | -37/+26 | |
Just pull and push data as is. Guenther | |||||
2010-07-01 | s3:auth Fix switch statement referencing a uninitialized variable | Simo Sorce | 1 | -1/+1 | |
Looking at the original commit (9a747d500fad699038ecf75615c680a9fd9e4cc7) this seem the right solution. Andrew please check. | |||||
2010-07-01 | s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash. | Günther Deschner | 1 | -7/+15 | |
Guenther | |||||
2010-06-30 | s3-winreg: implement _winreg_QueryMultipleValues(). | Günther Deschner | 1 | -6/+15 | |
Guenther | |||||
2010-06-30 | s3-winreg: implement _winreg_QueryMultipleValues2(). | Günther Deschner | 1 | -5/+114 | |
Guenther | |||||
2010-06-28 | s3-eventlog: Fixed the keyname delimiter for the registry key. | Andreas Schneider | 1 | -1/+1 | |
2010-06-28 | s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the ↵ | Günther Deschner | 1 | -1/+4 | |
registry key. Guenther | |||||
2010-06-18 | Second part of fix converting prs_XX struct and functions to talloc. Remove ↵ | Jeremy Allison | 1 | -4/+0 | |
unneeded prs_mem_free calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-06-18 | Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵ | Jeremy Allison | 1 | -28/+29 | |
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-06-16 | Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX). | Jeremy Allison | 1 | -49/+0 | |
Jeremy. | |||||
2010-06-16 | s3-spoolss: Provide a memory context for clean_up_driver_struct(). | Andreas Schneider | 1 | -1/+1 | |
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value. | |||||
2010-06-13 | s3: Remove the pointless PRINTERNAME macro | Volker Lendecke | 1 | -2/+2 | |
2010-06-11 | s3:rpc improve handles memory hierarchy and use better name. | Simo Sorce | 2 | -79/+91 | |
While there also cleanup the code a bit. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-06-10 | s3:misc make use of server_[event/messaging]_context directly | Andreas Schneider | 1 | -1/+1 | |
Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers. | |||||
2010-06-10 | s3:cleaunp reformatting for readability | Simo Sorce | 1 | -85/+160 | |
2010-06-10 | s3:cleanup remove trailing spaces | Simo Sorce | 1 | -11/+11 | |