summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
AgeCommit message (Collapse)AuthorFilesLines
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)