Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-25 | s3-netlogon: remove init_netr_SamInfo functions. | Günther Deschner | 1 | -25/+25 | |
Guenther | |||||
2009-06-25 | s3-netlogon: fix validation level 2 support in netr_SamLogon and friends. | Günther Deschner | 1 | -36/+85 | |
Guenther | |||||
2009-05-24 | Add "err_on_readability" to writev_send | Volker Lendecke | 1 | -1/+1 | |
A socket where the other side has closed only becomes readable. To catch errors early when sitting in a pure writev, we need to also test for readability. | |||||
2009-04-22 | Move serverinfo_to_SamInfo3() to rpc_server/ | Volker Lendecke | 1 | -0/+187 | |
Normally I hate moving around stuff, but this function is only called from the RPC server side and it pulls in passdb when trying to link in our rpc client routines. That seems unnecessary to me. | |||||
2009-03-27 | Fix external np read after conversion to tevent_req | Volker Lendecke | 1 | -1/+1 | |
2009-03-17 | Convert np_read to tevent_req | Volker Lendecke | 1 | -29/+32 | |
2009-03-17 | Convert np_write to tevent_req | Volker Lendecke | 1 | -39/+30 | |
2009-03-08 | Add "queue" to writev_send | Volker Lendecke | 1 | -1/+2 | |
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level. | |||||
2009-03-02 | Make struct tevent_req opaque | Simo Sorce | 1 | -8/+6 | |
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future. | |||||
2009-02-24 | Replace read_pkt by read_packet in np_read | Volker Lendecke | 1 | -8/+8 | |
2009-02-24 | Use async_writev in np_write | Volker Lendecke | 1 | -12/+10 | |
2009-02-13 | Parameterize in local.h the MAX_RPC_DATA_SIZE, and ensure | Jeremy Allison | 1 | -1/+1 | |
that "offered" read from the rpc packet in spoolss is under that size. Tidyup from analysis from Veracode. Jeremy. | |||||
2009-02-10 | Add queueing to np_write | Volker Lendecke | 1 | -9/+38 | |
2009-02-10 | Add queueing to np_read_state, simulate message-type named pipes. | Volker Lendecke | 1 | -25/+100 | |
The problem with msg-type pipes is that we have to return short reads when a message ends before the read request. When reading from the unix domain socket, the message limits are lost. So we would happily return more than a message, which confuses for example the s4 rpc client horribly. I'd expect other np rpc clients also to blow up over this. The real solution is to properly implement a two-byte length field per message on the unix domain socket, but this requires more changes there. And as we right now only serve DCE/RPC over the named pipes, this implements a hack that looks into the fragment headers to figure out hdr.frag_len. | |||||
2009-02-09 | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 1 | -4/+5 | |
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later. | |||||
2009-02-08 | Make prs_struct->out_data.current_pdu dynamically allocated | Volker Lendecke | 1 | -8/+15 | |
Another 4k per open pipe | |||||
2009-02-08 | Most RPC requests do not need a full fragment, start smaller | Volker Lendecke | 1 | -2/+2 | |
2009-02-07 | Make current_in_pdu in pipes_struct allocated | Volker Lendecke | 1 | -0/+18 | |
This makes an open pipe about 4K cheaper | |||||
2009-02-05 | Don't use recvall in the proxied np_read_send | Volker Lendecke | 1 | -6/+12 | |
We don't know how much we will get. Resort to a single recv syscall | |||||
2009-02-04 | Restore correct handling of "is_data_available" for the socket transport | Volker Lendecke | 1 | -0/+13 | |
This fixes a valgrind error reading an uninitialized variable | |||||
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 1 | -6/+6 | |
2009-02-01 | Move rpc_pipe_open_internal to srv_pipe_hnd.c | Volker Lendecke | 1 | -0/+37 | |
This is a smbd-only function | |||||
2009-02-01 | Replace pipe names in pipes_struct by ndr_syntax_id | Volker Lendecke | 1 | -30/+48 | |
This was mainly used for debugging output | |||||
2009-02-01 | Fix the build on Solaris CC | Volker Lendecke | 1 | -1/+1 | |
2009-01-31 | Remove unused np_read sync wrapper | Volker Lendecke | 1 | -30/+0 | |
2009-01-31 | Remove unused np_write sync wrapper | Volker Lendecke | 1 | -30/+0 | |
2009-01-31 | Make-np_write-handle-0-byte-writes-as-NT_STATUS_OK | Volker Lendecke | 1 | -0/+6 | |
2009-01-31 | Add an async np_read wrapper | Volker Lendecke | 1 | -22/+102 | |
2009-01-31 | Add an async np_write wrapper | Volker Lendecke | 1 | -15/+102 | |
2009-01-20 | Remove some unused code | Volker Lendecke | 1 | -13/+0 | |
2009-01-20 | Remove some smb fsp knowledge from rpc_server/ | Volker Lendecke | 1 | -58/+29 | |
np_open/read/write don't have to know about files_struct | |||||
2009-01-20 | Make use of TALLOC_FREE | Volker Lendecke | 1 | -3/+1 | |
2009-01-03 | Remove unused argument "vuid" from make_internal_rpc_pipe_p | Volker Lendecke | 1 | -4/+2 | |
2008-11-28 | Remove "conn" parameter from np_open, smb_request contains it | Volker Lendecke | 1 | -2/+3 | |
2008-11-24 | Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS! | Volker Lendecke | 1 | -10/+0 | |
2008-11-06 | For proxied named pipes, connect to np/<pipe_name> and send auth info | Volker Lendecke | 1 | -2/+107 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-11-01 | Apply some const to np_write() | Volker Lendecke | 1 | -1/+1 | |
2008-10-25 | Add proxied named pipe support | Volker Lendecke | 1 | -28/+144 | |
This is a central piece of the "merged build" thing: Forward named pipes from samba3 to samba4. This patch is not finished yet, as we will have to forward the smb-level authentication information to samba4, but I'm pushing this patch already to demonstrate the implementation without clutter. It adds an intermediate parameter np:proxy = srvsvc samr winreg wkssvc ... and so on that states which of the pipes should be forwarded to the s4 unix domain socket DEFAULT. The parameter is intermediate because once we have a proper endpoint mapper implementation, this information will be retrieved out of a database. If anybody wants to try this, do the merged build and configure s4 with server services = samba3_smb, rpc, nbt, wrepl, ldap, cldap, kdc, drepl samba3:smbd = /data/inst/sbin/smbd and s3 with auth methods = guest netlogond np:proxy = srvsvc samr winreg wkssvc netlogon ntlsa ntsvcs lsass lsarpc netdfs \ rpcecho initshutdown epmapper svcctl eventlog drsuapi Then run rpcclient against samba4. It will fork s3, which authenticates against s4, and then forwards the rpc requests to s4. Volker | |||||
2008-10-25 | Move the is_known_pipename check into np_open | Volker Lendecke | 1 | -0/+6 | |
2008-10-25 | Remove "pipe_handle_offset" -- pipes now use "struct files_struct" | Volker Lendecke | 1 | -16/+0 | |
2008-10-13 | Remove the current_spoolss_pipes_open thingy. | Volker Lendecke | 1 | -17/+0 | |
I looked at a checkout from 2002 and even there it did not what it was supposed to do. Sadly this also removes one of the nicest comments in the whole Samba code :-) | |||||
2008-10-13 | Make the internal pipe functions static | Volker Lendecke | 1 | -8/+8 | |
2008-10-13 | Remove smb_np_struct | Volker Lendecke | 1 | -303/+0 | |
2008-10-13 | Use "struct files_struct" for pipes instead of smb_np_struct | Volker Lendecke | 1 | -3/+95 | |
2008-10-12 | Revert "Make get_rpc_pipe() static" | Volker Lendecke | 1 | -3/+1 | |
This reverts commit f25972832ec9d5a130da9dc060f4c3ed35bda7db. | |||||
2008-10-12 | Make get_rpc_pipe() static | Volker Lendecke | 1 | -1/+3 | |
2008-10-12 | Remove unused #defines | Volker Lendecke | 1 | -3/+0 | |
2008-07-30 | Fix duplicate gloabl warning. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. (This used to be commit 6da33797b0549a2da7dc0fa7ee21dc5e8a6b1459) | |||||
2008-07-26 | make read/write to internal pipes available externally | Volker Lendecke | 1 | -8/+3 | |
(This used to be commit e11b5cb1e061caf4c3793fb402ca6bee95a8f26c) | |||||
2008-07-26 | Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructor | Volker Lendecke | 1 | -5/+5 | |
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc) |