summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14172: composite_is_ok(c) destroys c, when the status isn't ok.Stefan Metzmacher1-46/+8
so we need to return directly. metze (This used to be commit fba4229e56dce867a7c9daf9a3523a4dc3e454ba)
2007-10-10r14165: More comments and my copyright.Rafal Szczesniak1-1/+19
rafal (This used to be commit 6b94e81e5a31bb413149d9328746b1fed65c7f3d)
2007-10-10r14164: More comments.Rafal Szczesniak1-5/+95
rafal (This used to be commit 8582d6dfc5c8ad59a2eb64cb81a703c13b7eeed4)
2007-10-10r14143: Replace old function with equivalent based on new async code.Rafal Szczesniak1-67/+4
rafal (This used to be commit 036d35ff175b26dc1f55e6813f9a014a444d9af4)
2007-10-10r14137: move **p2 to the _recv function for setup the second pipeStefan Metzmacher2-43/+29
metze (This used to be commit 8b8d92beedd8848aa2c7f1443fa8e66e09c2e0bf)
2007-10-10r14136: Fix bug causing segfaults in certain circumstances (gcc3.x amongRafal Szczesniak1-7/+7
others, probably). Funny thing, it didn't segfault on my laptop and gcc4... rafal (This used to be commit 9e3321130e57daccd9649afc3af581a03655090e)
2007-10-10r14125: Fix incorrect declaration caught on build farm.Rafal Szczesniak1-1/+2
rafal (This used to be commit 93358e7d9e08bb77641c1b9a47448eb0a4dac587)
2007-10-10r14123: Huge lump of code making all of our dcerpc connect codeRafal Szczesniak3-381/+1233
asynchronous. Build is ok, and so are the tests. More comments to follow. rafal (This used to be commit a74fb6c5a2f968c56aff8ce39ce2ce9375d19b81)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2-2/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13726: Fix indentation.Rafal Szczesniak1-1/+1
rafal (This used to be commit cedaf08170fddc8e4a3f9e4aea0f2c7f08759061)
2007-10-10r13658: More moving around of files:Jelmer Vernooij1-1/+1
- Collect the generic utility functions into a lib/util/ (a la GLib is for the GNOME folks) - Remove even more files from include/ (This used to be commit ba62880f5b05c2a505dc7f54676b231197a7e707)
2007-10-10r13582: IndentAndrew Bartlett1-3/+3
(This used to be commit 06ddac2bb1899937b79e3bf89cb84c750c3ce4c5)
2007-10-10r13572: Comments to async pipe open functions and copyright note.Rafal Szczesniak1-10/+57
rafal (This used to be commit 7dde77942bfcb73dfdd7a9840d3ba2a984c05064)
2007-10-10r13568: Comments to async rpc connect functions.Rafal Szczesniak1-6/+55
rafal (This used to be commit 9ef2275f6179869f2683e96c6f91d9569a6360c8)
2007-10-10r13561: Turn all dcerpc connect and socket functions to async version.Rafal Szczesniak3-109/+517
Now, each rpc interface (named pipe, tcp/ip, lrpc and unix socket) works asynchronously. Comments to follow. rafal (This used to be commit 789f9d43db7ea59e79d5aa498e2e9fd077448825)
2007-10-10r13334: Add comments describing what these functions do.Andrew Bartlett1-2/+21
We still need many more, but it is a start... Andrew Bartlett (This used to be commit b2bda127f681dc1e2003c86159a85fa613373f16)
2007-10-10r13210: Revert my named pipes patch until it passes not just 'make ↵Jelmer Vernooij1-1/+1
quicktest' but also 'make test' (This used to be commit e3d0676aee84e96e5c87bed4cd0cde75a4191953)
2007-10-10r13208: Clearly separate named pipes from the IPC$ NTVFS type.Jelmer Vernooij1-1/+1
This allows the easy addition of additional named pipes and removes the circular dependencies between the CIFS, RPC and RAP servers. Simple tests for a custom named pipe included. (This used to be commit 898d15acbd18e3b302a856c847e08c22c5024792)
2007-10-10r13002: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 3365ad950b1ffdbcff9e6c7fc8525988d1621938)
2007-10-10r12865: Upgrade the librpc and libnet code.Andrew Bartlett5-34/+37
In librpc, always try SMB level authentication, even if trying schannel, but allow fallback to anonymous. This should better function with servers that set restrict anonymous. There are too many parts of Samba that get, parse and modify the binding parameters. Avoid the extra work, and add a binding element to the struct dcerpc_pipe The libnet vampire code has been refactored, to reduce extra layers and to better conform with the standard argument pattern. Also, take advantage of the new libnet_Lookup code, so we don't require the silly 'password server' smb.conf parameter. To better support forcing traffic to be sealed for the vampire operation, the dcerpc_bind_auth() function now takes an auth level parameter. Andrew Bartlett (This used to be commit d65b354959842326fdd4bd7eb7fbeea0390f4afa)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-20/+39
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12800: Replace tmp_ctx with mem_ctx to make variables name moreRafal Szczesniak1-6/+6
consistent along the file. rafal (This used to be commit aaccb91cca5da8a869878326da298d22a3b8b2ae)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij2-0/+4
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-3/+10
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12670: Make a couple of dependencies stricterJelmer Vernooij1-18/+0
Re-introduce and use the OUTPUT_TYPE property for MODULEs to force specific modules to always be included (This used to be commit f9eede3d40098eddc3618ee48f9253cdddb94a6f)
2007-10-10r12634: make the [validate] binding string switch also check to see if theAndrew Tridgell1-3/+17
string form of the structure we receive matches the generated form. This has the effect of checking things like value() attributes. (This used to be commit f2e68ec649658976e5bf4887713a92c14850c277)
2007-10-10r12623: Another round of fixes for the prototypes of tables.cJelmer Vernooij1-0/+13
(This used to be commit fb5b22e3dc9ad0892817ae72a73e1e80f3db75c5)
2007-10-10r12622: Move table.c prototypes to seperate header to prevent circular ↵Jelmer Vernooij1-0/+1
dependencies with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
2007-10-10r12620: Get rid of automatically generated lists of init functions of ↵Jelmer Vernooij1-0/+7
subsystems. This allows Samba libraries to be used by other projects (and parts of Samba to be built as shared libraries). (This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij7-12/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12574: Bring tables.pl back to life and move registration of interfacesJelmer Vernooij2-27/+27
now completely to a new subsystem. (This used to be commit bbacfaaea5819e0ecadf81e8fbb424916284c809)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij5-0/+6
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12514: Move DCE/RPC interface table to a seperate fileJelmer Vernooij3-77/+106
Be a bit more strict when checking for duplicate interfaces (This used to be commit b1286a6d27e2b5aa26f288f6aff70601b0d8ae74)
2007-10-10r12513: Similar change as my previous commit, but now for transfer syntaxes.Jelmer Vernooij2-23/+13
Avoids converting a static string to GUID every time we check whether a transfer syntax is equal to that of NDR. (This used to be commit 8dcfcaf75ab8cf4a54cf5e56f6be25acc68e3989)
2007-10-10r12512: Use GUID structs in API functions everywhere rather then converting ↵Jelmer Vernooij3-22/+15
back and forth between GUID structs and strings in several places. (This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
2007-10-10r12511: Remove authservice from binding stringJelmer Vernooij2-8/+1
(This used to be commit 2188168209f07bd87d90d7ff94e8b542ced68249)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij5-64/+45
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij1-3/+2
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r12294: Move dcerpc_pipe_open_sock() to async implementation.Rafal Szczesniak1-44/+135
rafal (This used to be commit 02e79800346d232bb14c476f62a3e5ba30f79bd4)
2007-10-10r12162: More comments.Rafal Szczesniak1-5/+30
rafal (This used to be commit 2d69e4b13e547768a36e293a9164923e35da7334)
2007-10-10r12135: Move named pipe connect on smb2 function to async implementation.Rafal Szczesniak2-43/+121
Completely untested, it's a bit difficult without having vista around (yet), so - Andrew, please test it and let me know what's wrong. rafal (This used to be commit b9e7522bd4b626402c51a69695bea0928f5baef7)
2007-10-10r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell2-5/+5
instead make the normal composite_done() and composite_error() functions automatically trigger a delayed callback if the caller has had no opportunity to setup a async callback this removes one of the common mistakes in writing a composite function (This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10r12103: Comments and a bit of formatting.Rafal Szczesniak1-6/+28
rafal (This used to be commit 4a12711c310f3dc228ea7be539703fc3fc77444a)
2007-10-10r12101: revert my last commit, I breaks the build and I don't know why...Stefan Metzmacher1-17/+19
metze (This used to be commit dc664df873c208c57752e8288a82cef77bc61338)
2007-10-10r12090: use the _trigger_error() function in the functionStefan Metzmacher1-19/+17
that allocated the composite_context metze (This used to be commit 998a7f8572bb90b5d478f03f09fba9867a6d8bfa)
2007-10-10r12089: Couple of fixes in cases of memory outage before we sortRafal Szczesniak1-12/+21
out how and when to use composite_error() and composite_trigger_error(). Spotted by Metze. rafal (This used to be commit 218db3ebc06f2d3e906f23a36bad088861b8e720)
2007-10-10r12088: Use a structure to pass arguments to dcerpc connection functionsRafal Szczesniak2-71/+26
and move migrated (async) code to a new file. rafal (This used to be commit 79b231bc534e10149d86a2c647a27c27ce524949)
2007-10-10r12087: Split dcerpc pipe connection functions into separate file.Rafal Szczesniak2-1/+167
It's going to contain async functions and ncacn_np is the first. rafal (This used to be commit 3fe2df5fe3165972536c937620d770e763b0d5bb)
2007-10-10r12001: Replace smbcli_full_connection call with composite connect usedRafal Szczesniak1-8/+25
in sync version. This step makes it easer to move further to async dcerpc connect routine. rafal (This used to be commit 87b016d55315190fa3f6083c75cb783ad45ddd0b)
2007-10-10r11980: ronnie worked out that opcode 0xb in SMB2 is in fact ioctl, and thatAndrew Tridgell1-6/+7
it only appeared to be like a SMBtrans request as it was being called with function 0x11c017 which is "named pipe read write" I wonder if this means we could do DCE/RPC over SMB using ntioctl calls as well? (This used to be commit f2b8857797328be64b0b85e875ae6d108e2aeaaa)