Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2010-06-08 | Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS" | Volker Lendecke | 1 | -4/+3 | |
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c | |||||
2010-06-07 | s3:smbd add utility function to check if there are open pipes | Simo Sorce | 1 | -0/+12 | |
2010-06-07 | s3:rpc make num_pipe_handles get an actual pipe as argument | Simo Sorce | 2 | -4/+4 | |
Let the function abstract out how handles are counted | |||||
2010-06-07 | s3:rpc handles are used by all pipes, use better name | Simo Sorce | 1 | -0/+0 | |
2010-06-07 | s3:rpc fix potential out of bound memory access | Simo Sorce | 1 | -1/+1 | |
memcpy copies memory unconditionally, we are passing "" in some cases here. Use strncpy which will stop reading from src if the null byte is found and will fill with nulls the destination. | |||||
2010-06-07 | s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP | Andrew Bartlett | 1 | -0/+21 | |
This allows the right hooks to be called in GENSEC when s3compat implements the auth_ntlmssp interface. Otherwise, we can't do the signing or sealing as we have not negoitated it's use. Andrew Bartlett |