summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r3332: Check result codes in some more places...Jelmer Vernooij1-1/+11
(This used to be commit 87833cc75852bfe198c73ba1be67d1d36a43dc99)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-1/+1
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r2896: Add torture test for EnumValue()Jelmer Vernooij1-24/+25
(This used to be commit e9a7f729b3b5e1d970f124b0a25255f40e18c9b4)
2007-10-10r2532: Don't run EnumValue torture test for now (idl needs fixing, doesn't ↵Jelmer Vernooij1-1/+2
compile) (This used to be commit c98fbfe2507ef08cfd2ed5486f1122b6010939f9)
2007-10-10r1983: a completely new implementation of tallocAndrew Tridgell1-1/+2
This version does the following: 1) talloc_free(), talloc_realloc() and talloc_steal() lose their (redundent) first arguments 2) you can use _any_ talloc pointer as a talloc context to allocate more memory. This allows you to create complex data structures where the top level structure is the logical parent of the next level down, and those are the parents of the level below that. Then destroy either the lot with a single talloc_free() or destroy any sub-part with a talloc_free() of that part 3) you can name any pointer. Use talloc_named() which is just like talloc() but takes the printf style name argument as well as the parent context and the size. The whole thing ends up being a very simple piece of code, although some of the pointer walking gets hairy. So far, I'm just using the new talloc() like the old one. The next step is to actually take advantage of the new interface properly. Expect some new commits soon that simplify some common coding styles in samba4 by using the new talloc(). (This used to be commit e35bb094c52e550b3105dd1638d8d90de71d854f)
2007-10-10r1123: Make all lp_ string functions return 'const char *'.Andrew Bartlett1-1/+2
Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-1/+1
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-3/+3
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r739: Implement GetNumRecords() call from eventlog pipe, including a torture ↵Jelmer Vernooij1-0/+1
test (This used to be commit 6a254e26f17c2b3175023764c02dc73615d585d6)
2007-10-10r355: Fix a bunch of compiler warnings in the registry code.Tim Potter1-1/+0
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)
2007-10-10r199: More registry rpc updatesJelmer Vernooij1-2/+2
(This used to be commit 02ddf78e5563b15cb45ae4bc6234469be0dc0210)
2007-10-10r190: More RPC updatesJelmer Vernooij1-26/+28
(This used to be commit 0a67057e9626c1539f964e978537e24544784263)
2007-10-10r168: - Cleanups in rpc backendJelmer Vernooij1-6/+10
- Small fixess in nt4 and dir backends - Start on w95 file backend (This used to be commit aa739e8d3c7108f6f2089af2d8d522feacc7f698)
2007-10-10r165: Add support for viewing registry values in gregeditJelmer Vernooij1-1/+5
(This used to be commit 1d8a6d762aa4dab54bb58959cb1e7957a76e5b6e)
2007-10-10r128: Another registry update. Changes:Jelmer Vernooij1-20/+77
- Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
2007-10-10r62: Fix the buildJelmer Vernooij1-3/+6
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)
2007-10-10r61: - Implement first call in the winreg rpc serverJelmer Vernooij1-1/+22
- Add some initial implementation of the ldb backend - More checks in the winreg torture test (This used to be commit ae2b63b6f1821bc4f693cb8e2a5f78718c483c24)
2007-10-10r46: Add CreateKey function (still working on it)Jelmer Vernooij1-6/+49
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)
2007-10-10r33: Fix torture test after IDL changes.Jelmer Vernooij1-11/+2
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher1-2/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2003-12-12Small cleanup of test code. Rename enum indexes to be the same nameTim Potter1-112/+86
for EnumKey and EnumValue. (This used to be commit 817a2fe2e5824e6bb9547697d27c66c0c8356181)
2003-12-12Got winreg_EnumValue working - what a mess!Tim Potter1-16/+62
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
2003-11-23Modify WINREG test program to recursively enumerate keys in all knownTim Potter1-64/+47
hives. Limit the recursion depth to ensure the test doesn't run too long. (This used to be commit 152af383b8fdaa41be97356f9c55b9a5824edecf)
2003-11-23Check NT_STATUS code from dcerpc call function before checking theTim Potter1-2/+2
WERROR code. (This used to be commit b4792b7b316f8cb665b5a698f348c7c033702934)
2003-11-23Actually call right function name.Tim Potter1-1/+1
(This used to be commit 634ea437201fbf61f3157a4b0ebabfcb15507166)
2003-11-23Call enumkey for tridge.Tim Potter1-0/+4
(This used to be commit cc71bd2a903ba1f12f08758e885f1f07e61f7c86)
2003-11-23String termination fix.Tim Potter1-30/+87
Re-arrange winreg tests - currently it's failing with an input validation error on tridge's test pull/push test code. (This used to be commit 8f154f8b9f0bb8d9c7915945d4a0b1c20a206999)
2003-11-23reduced the number of magic types we need in mkproto.plAndrew Tridgell1-1/+1
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-0/+2
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-22Convert all NTSTATUS return codes to WERROR.Tim Potter1-12/+227
Implement all OpenXXX calls, EnumKey, OpenKey, QueryInfoKey. Started EnumValue but it doesn't work yet. (This used to be commit 5cba48252a8b3338a296d7ec8fa8ccba43dd190e)
2003-11-21Implement DeleteKey, DeleteValue, FlushKey.Tim Potter1-0/+52
(This used to be commit 49f1654510f0ea7681b386296b67282791c4b319)
2003-11-21Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.Tim Potter1-0/+124
(This used to be commit c8b87f5feb7756c7a5b38135517788c9f4ade36f)