Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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) | |||||
2008-07-26 | Refactor make_internal_rpc_pipe_p: connection_struct is not needed | Volker Lendecke | 1 | -21/+11 | |
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7) | |||||
2008-06-26 | Remove p->vuid | Volker Lendecke | 1 | -4/+2 | |
The users can use p->server_info. Now pipes_struct is decoupled from the SMB transport. (This used to be commit d4cf5a131919530317cd457006b4df5af2c69fa7) | |||||
2008-06-26 | Now that we have p->server_info, use p->server_info->user_session_key | Volker Lendecke | 1 | -4/+0 | |
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47) | |||||
2008-06-26 | Add server_info to pipes_struct | Volker Lendecke | 1 | -0/+9 | |
(This used to be commit d621867bb8767e1c4236d28dd9294a61db6cbb10) | |||||
2008-06-24 | Remove "conn" from pipes_struct | Volker Lendecke | 1 | -1/+2 | |
For spoolss, we need the client's IP address (This used to be commit 64a4dfaa826cf9319ef3f5c65023352bf8af539e) | |||||
2008-06-21 | Make pipes_struct its own talloc ctx | Volker Lendecke | 1 | -20/+5 | |
(This used to be commit 829b1ad4697f2f1ea008377d591456722dccd025) | |||||
2008-06-21 | Fix a SAFE_FREE/TALLOC_FREE mixup | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit b39852f51313059899630ba63509fee904ba3613) | |||||
2008-05-05 | Remove "session_key" from "struct user_struct" | Volker Lendecke | 1 | -1/+3 | |
This one took a bit -- I hope I covered all data paths (This used to be commit 74c88a44422f88d6e2f2cdbfdfa0bafe0dbe06c4) | |||||
2008-05-05 | Remove "nt_user_token" from "struct user_struct" | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit 51d5d512f28eadc74eced43e5e7f4e5bdff3ff69) | |||||
2008-03-17 | Coverity fixes | Marc VanHeyningen | 1 | -3/+3 | |
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363) | |||||
2007-12-16 | Make smb_np_struct talloc'ed | Volker Lendecke | 1 | -8/+11 | |
Convert "name" from string to a talloc'ed char * (This used to be commit e82069f921b3a22295db91e092c22c459ccd7215) | |||||
2007-12-16 | Remove unused code | Volker Lendecke | 1 | -14/+0 | |
(This used to be commit fcd45ad6fb8d89bf6106fbed101060dbe422661a) |