summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3016: - converted the events code to tallocAndrew Tridgell1-1/+1
- added the new messaging system, based on unix domain sockets. It gets over 10k messages/second on my laptop without any socket cacheing, which is better than I expected. - added a LOCAL-MESSAGING torture test (This used to be commit 3af06478da7ab34a272226d8d9ac87e0a4940cfb)
2007-10-10r2993: fix commentStefan Metzmacher1-1/+0
metze (This used to be commit 23a2c5c1586e5ea0261bc84571486658a262740c)
2007-10-10r2992: drsuapi uses WERROR not NTSTATUSStefan Metzmacher1-25/+25
metze (This used to be commit 757f67c08b0b1309d8a0b900539111c7bc430b0e)
2007-10-10r2991: add drsuapi_DsGetDomainControllerInfo() idl and torture testStefan Metzmacher1-1/+74
metze (This used to be commit 98ca7640c59aa8694abde03f5661b8908cf088bb)
2007-10-10r2990: Add support to pidl for autogenerating ndr_size_*() functions. AddingJelmer Vernooij4-54/+19
the [gensize] property to a struct or union will make pidl generate a ndr_size_*() function. (not all nasty bits of NDR are completely covered yet by the ndr_size*() functions, support for those will be added when necessary) I also have a local patch (not applied now) that simplifies the pidl output and eliminates the number of functions required. It would, however, make pidl more complex. (This used to be commit 7c823f886afd0c4c6ee838f17882ca0658417011)
2007-10-10r2989: fix the printing of unions with negative cases when :print is usedAndrew Tridgell1-2/+2
(This used to be commit d8152f896119418d95d7697cc2ca23f5319c32a9)
2007-10-10r2987: added support for signed 32 bit integers in pidlAndrew Tridgell1-0/+31
(This used to be commit 24122eb93e39de8db3675618b6c227c95eb58d9c)
2007-10-10r2972: make names more consistentStefan Metzmacher1-2/+2
metze (This used to be commit 7aa91db53ed5811f0900dd61d63d15e71255285e)
2007-10-10r2971: fix DsBind idlStefan Metzmacher1-3/+2
metze (This used to be commit 9e50b3214b9de84811640296c19d6068936dfd54)
2007-10-10r2970: - give somefields names and typdef enums for the possible valuesStefan Metzmacher1-20/+53
- do more crackname tests in the torture test - move server code for cracknames to a different file metze (This used to be commit 18050ea6037b3c0c7cfe975eb9c872368b9e3328)
2007-10-10r2968: fixed the byte order problem with the new RHS parsing on ncacn_ip_tcpAndrew Tridgell3-1/+13
(This used to be commit cc00f9b6b87783d189df00de0ce9ae92b907e21a)
2007-10-10r2967: Add some printer enum constants from Samba3's rpc_spoolss.hTim Potter1-0/+9
(This used to be commit 7983a99479164d04281dd6c34d63733afa3c3612)
2007-10-10r2956: Fix towers_length for now. I'm currently working on a pidl extensionJelmer Vernooij2-1/+53
that can generate these kinds of functions (This used to be commit ebca2516502560edfd4056fbb4cfc9718a108efa)
2007-10-10r2952: add idl and torture test for DsCrackNamesStefan Metzmacher1-2/+40
(I need to find out what the fields mean but it works) metze (This used to be commit eff51fc623f2e7b57e7e53eb81760684815db2f4)
2007-10-10r2950: 0x40000 is clearer than 262144Andrew Tridgell1-1/+1
(This used to be commit c17d9254d42e5966fbdfeeda18023c8c0203dad1)
2007-10-10r2949: added some range checks in samr.idlAndrew Tridgell1-4/+4
(This used to be commit 8921e34f989977efc5f9d4f5eabf21bbb5f52115)
2007-10-10r2948: added support for the [range(low,high)] attribute in pidl. This allowsAndrew Tridgell1-1/+2
range checking of any integer value, to help protect against denial of service attacks (which could otherwise cause large memory allocations) (This used to be commit dbe6430d78f1b9aa59969074077e4afa5adf7570)
2007-10-10r2939: Use /* */ style commentsJelmer Vernooij1-4/+4
(This used to be commit c5d4fae3b157c5559b8b15dde16451e91c0fc022)
2007-10-10r2938: Use IDL to dissect the RHS of floors in protocol towersJelmer Vernooij2-40/+108
(This used to be commit 273d0049b5339e3288b264e5a4393bfab1d4e239)
2007-10-10r2925: added the definition for a new rpc fault code I am seeing on epmapper ↵Andrew Tridgell1-0/+1
from lhorn (This used to be commit 9ef399a769805ecfc78fc32e066b20e8efe34290)
2007-10-10r2921: Add a few more protocols and fix the numbers associated with some ofJelmer Vernooij3-20/+30
the current ones. It took me three hours to realise that the DCOM standard contains false protocol numbers (apparently someone converted the protocol numbers to hex twice, i.e. 13 -> 0c and 14 to 0d). There are no longer duplicates in the list with protocol numbers now. (This used to be commit f355cd426462a72575ef3c3b769f676334976986)
2007-10-10r2910: I noticed that the samr torture test was doing its own DOS->UNIXAndrew Tridgell1-129/+138
string conversion. For RPC, all string conversions are supposed to be done by the NDR layer, using string flags set in the IDL. The reason this wasn't working is that I had been too lazy to do the STR_ASCII string types properly at the NDR layer when initially writing ndr_basic.c. This commit fixes the ndr_basic code properly to do all ASCII varients, by re-using the non-ascii code and a "byte_mul" local variable. I have also removed the manual string conversion in the SAMR torture test code. (This used to be commit aad0e7e9d890bb56447f1f933b8f2bb78a3ee269)
2007-10-10r2888: - add 'Ds' prefix to Bind and Unbind call on drsuapiStefan Metzmacher1-27/+27
- rename handle -> bind_handle - change function types to NTSTATUS metze (This used to be commit de73676342be8dbf39df8d3fe68817932ee71ccb)
2007-10-10r2857: this commit gets rid of smb_ucs2_t, wpstring and fpstring, plus lots ↵Andrew Tridgell1-7/+3
of associated functions. The motivation for this change was to avoid having to convert to/from ucs2 strings for so many operations. Doing that was slow, used many static buffers, and was also incorrect as it didn't cope properly with unicode codepoints above 65536 (which could not be represented correctly as smb_ucs2_t chars) The two core functions that allowed this change are next_codepoint() and push_codepoint(). These functions allow you to correctly walk a arbitrary multi-byte string a character at a time without converting the whole string to ucs2. While doing this cleanup I also fixed several ucs2 string handling bugs. See the commit for details. The following code (which counts the number of occuraces of 'c' in a string) shows how to use the new interface: size_t count_chars(const char *s, char c) { size_t count = 0; while (*s) { size_t size; codepoint_t c2 = next_codepoint(s, &size); if (c2 == c) count++; s += size; } return count; } (This used to be commit 814881f0e50019196b3aa9fbe4aeadbb98172040)
2007-10-10r2833: - added a call to SamrQueryGroupMember for every group, and fix theAndrew Tridgell1-28/+11
IDL so this works (the previous IDL was bogus) - changed a hyper to uint64 after looking at output on cascade on sparc (This used to be commit db1ed5675a5271085ea0b89dd634b037ee710178)
2007-10-10r2831: // style comments are not supported by pure C preprocessors. Please ↵Volker Lendecke1-2/+2
DONT use them. This includes idl files. Volker (This used to be commit e9fa997fd7747cf78ef0ac76bf70f5e34d3d1b12)
2007-10-10r2830: // style comments are not supported by pure C preprocessors. Please ↵Volker Lendecke2-153/+153
DONT use them. This includes idl files. Volker (This used to be commit d9f3c4e301e52d8e7d7049e657185a66bfad29f7)
2007-10-10r2818: On AIX, for some reason pidl fails in dcom.idl:29. The only thingVolker Lendecke1-2/+2
is a /* style comment. Try //. Volker (This used to be commit 73adc1f357bc0ac01729eb03b26f27cf28226c23)
2007-10-10r2817: Get winreg_GetKeySecurity() working but use data blob instead ofTim Potter1-7/+14
security descriptor. (This used to be commit bc5165e40a716fb7c612b32c0b6f03cb2d331d11)
2007-10-10r2807: OK I think winreg_EnumValue() finally works. The previous versionTim Potter1-5/+19
didn't work with non-NULL registry value names. Update testsuite to enumerate all keys and values two levels deep. (This used to be commit c09f0f355ba6a589121588492aa2db5deb7121e0)
2007-10-10r2782: Reformat IDL for winreg_EnumValue()Tim Potter1-36/+14
(This used to be commit 9250f745adc22b3f179cf363a9a9a5fba1ec6fc9)
2007-10-10r2781: Got winreg_EnumValue() working. Check it in so I don't break it tryingTim Potter1-3/+18
to clean it up. (-: (This used to be commit cc646f73b873292eaba152770be9500beff1c988)
2007-10-10r2763: use no-auth bind on ncacn_np unless we specify at least one of ↵Andrew Tridgell1-1/+2
"sign", "seal" or "connect" (This used to be commit f3adabf6896b75f5293dbde3f9de737f35d95a10)
2007-10-10r2741: Definition for ISystemActivator...Jelmer Vernooij1-1/+5
(This used to be commit 0bb42ba898a0d02c98bbefcfe5b9e42409658609)
2007-10-10r2740: Finish the RemoteActivation interface. Torture tests will followJelmer Vernooij2-20/+11
after pidl has been fixed (to be able to use input variables inside size_is() for output variables) (This used to be commit ea0b0bfea97067118dab634efefd3115b7a0fd85)
2007-10-10r2735: More DCOM updates:Jelmer Vernooij3-134/+148
- Several updates to the interface definitions after reading some more of the specs - Add Remote Activation interface - Add body extension uuids - Add oxidresolve torture test to list - Make pidl complain about object interfaces that don't inherit from IUnknown (This used to be commit 1bb471832830d73f0c7290e2ec12878518598379)
2007-10-10r2710: continue with the new style of providing a parent context wheneverAndrew Tridgell2-4/+4
possible to a structure creation routine. This makes for much easier global cleanup. (This used to be commit e14ee428ec357fab76a960387a9820a673786e27)
2007-10-10r2705: Don't try RemQueryInterface2 for now (doesn't validate)Jelmer Vernooij1-2/+2
(This used to be commit b2f4532e906e1a5bf134812072aad211ba2d01bb)
2007-10-10r2699: Correct handle ServerAlive() and ServerAlive2() + add torture testsJelmer Vernooij2-16/+13
(This used to be commit 9e74144aa8e5f9a8b6e3d5293833c4afeebeddb0)
2007-10-10r2696: DCOM updates:Jelmer Vernooij3-79/+96
- Start working on OXIDResolver interface - Add torture test for SimplePing() (This used to be commit b54d14a01a71082251ff926ab57974c6eb3c0a41)
2007-10-10r2687: Add ORPC flag (used by DCOM)Jelmer Vernooij1-0/+1
(This used to be commit b7ac0cb692ea373f754d7a40b44a7b0756459287)
2007-10-10r2680: switched the libcli/raw/ code over to use talloc_reference(), which ↵Andrew Tridgell1-15/+7
simplifies things quite a bit (This used to be commit c82a9cf750829c4f6982ca3133295c8599023c4e)
2007-10-10r2674: I have realised that talloc() should have its context marked const, asAndrew Tridgell1-2/+7
a const pointer really means that "the data pointed to by this pointer won't change", and that is certainly true of talloc(). The fact that some behind-the-scenes meta-data can change doesn't matter from the point of view of const. this fixes a number of const warnings caused by const data structures being passed as talloc contexts. That will no longer generate a warning. also changed the talloc leak reporting option from --leak-check to --leak-report, as all it does is generate a report on exit. A new --leak-report-full option has been added that shows the complete tree of memory allocations, which is is quite useful in tracking things down. NOTE: I find it quite useful to insert talloc_report_full(ptr, stderr) calls at strategic points in the code while debugging memory allocation problems, particularly before freeing a major context (such as the connection context). This allows you to see if that context has been accumulating too much data, such as per-request data, which should have been freed when the request finished. (This used to be commit c60ff99c3129c26a9204bac1c6e5fb386114a923)
2007-10-10r2671: we're getting too many errors caused by the talloc_realloc() API notAndrew Tridgell4-4/+5
taking a context (so when you pass a NULL pointer you end up with memory in a top level context). Fixed it by changing the API to take a context. The context is only used if the pointer you are reallocing is NULL. (This used to be commit 8dc23821c9f54b2f13049b5e608a0cafb81aa540)
2007-10-10r2668: steal the cli pointer into the pipe context so a single free destroys ↵Andrew Tridgell1-1/+2
the cli context too (This used to be commit 417d0c0ba182aab3a3a23db76ff7ac7cbc663cb6)
2007-10-10r2660: - converted the libcli/raw/ library to use talloc_increase_ref_count()Andrew Tridgell2-3/+3
rather than manual reference counts - properly support SMBexit in the cifs and posix backends - added a logoff method to all backends With these changes the RAW-CONTEXT test now passes against the posix backend (This used to be commit c315d6ac1cc40546fde1474702a6d66d07ee13c8)
2007-10-10r2643: convert more of the auth subsyystem to the new talloc methods. ThisAndrew Tridgell1-10/+3
also fixes a memory leak found with --leak-check. (This used to be commit f19201ea274f0a542314c61c4af676197bf154ad)
2007-10-10r2634: use discard_const_p() in a few placesAndrew Tridgell1-2/+2
(This used to be commit 56ecda2178e33508c55c6195ccec41c06e099d6f)
2007-10-10r2629: convert gensec to the new talloc modelAndrew Tridgell4-5/+5
by making our gensec structures a talloc child of the open connection we can be sure that it will be destroyed when the connection is dropped. (This used to be commit f12ee2f241aab1549bc1d9ca4c35a35a1ca0d09d)
2007-10-10r2628: got rid of some warnings and converted a few more places to use ↵Andrew Tridgell3-4/+3
hierarchical memory allocation (This used to be commit 26da45a8019a2d6c9ff2ac2a6739c7d0b42b00de)