Age | Commit message (Collapse) | Author | Files | Lines |
|
I have recoded the core dcerpc packet structures (all the PDUs etc) in
terms of IDL, which means we now use pidl to generate all the code for
handling the most basic dcerpc packets. This is not normally possible
as it isn't completely valid NDR, but pidl has a number of extensions
that make it quite easy.
This also means we get the server side dcerpc
marshalling/unmarshalling code for free.
(This used to be commit 92bcad02587c3c1b31b523ee9fa46658a6cef9ff)
|
|
files at once, which means less perl startup time.
(This used to be commit 64b2c67e479ddc754d18f752d347ba22a6d77682)
|
|
(This used to be commit 48276c768bc58aa531771e0172a7480ec94d3254)
|
|
"make proto"
(This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)
|
|
(This used to be commit 1c980e6c4e89b24aa8fedf0b6684cd73f34b6c25)
|
|
(This used to be commit 9ea02c51d449095b7f17edb3fb82d3722cdd9c20)
|
|
(This used to be commit 945ada7e7ec0f4b4df559bc171b9b18d30eff834)
|
|
(This used to be commit e58384eb53b654768d2eb53c222529849674753c)
|
|
In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.
(This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
|
|
(This used to be commit db6d7daaef4d51e3c463fe76eefa2b22ff71a546)
|
|
(This used to be commit f11f757c871dcb66813e44a3144df0f927108d8e)
|
|
(This used to be commit 9386326868f43dab95b5508ce0ca5a9c1160a2eb)
|
|
easier to work with.
(This used to be commit 60be15d306e7b65efdd27df02250c0264996ccf3)
|
|
symbolic names for bitfields etc.
(This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)
|
|
IDL is not valid
(This used to be commit c1b708708e262350d697829d444d0fb6a981a80f)
|
|
* fixed nested relative offsets in push functions
the spoolss torture test now passes!
(This used to be commit 60ced76160e4f4e2b511ebbeec31130c8ebcdd22)
|
|
* fixed GetPrinter in spoolss after OpenPrinter
(This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
|
|
(This used to be commit 201cb6116df8ad74569d78827815855105a1ea11)
|
|
* don't consider not doing lsa_QueryInfoPolicy level 11 a failure
(w2k3 doesn't have this level, w2k does)
* on a NDR validation failure dump the failed data at level 3
(This used to be commit 9d5078962f0f8aef3360dea4c4774cf8de1fdc26)
|
|
* allow us to distinguish between null arrays and zero length arrays,
by making the allocation size a minimum of 1 on array pull
(This used to be commit 11c0fe548ecfb03424f51e1354b86d4692e8f07c)
|
|
* 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)
|
|
that currently, but will in a couple of hours when I've finished my
NDR validator code)
* only a pointer can be [ref]
(This used to be commit 4e174564ae4e8f84053d23ac2d40a59926f7e9e3)
|
|
Implement all OpenXXX calls, EnumKey, OpenKey, QueryInfoKey.
Started EnumValue but it doesn't work yet.
(This used to be commit 5cba48252a8b3338a296d7ec8fa8ccba43dd190e)
|
|
version. This should fix the problems Richard was seeing.
(This used to be commit 76c24a5cb09b096a9cb490f3bb42af0b9d0f5fa9)
|
|
(This used to be commit 5962f1cffa9273cc06c8a3c4a112f3ce94b84dae)
|
|
(This used to be commit bc2fbc79cc7c0308934f351b067a88b4b397de37)
|
|
(This used to be commit 0eff7c519b87d9c69da61a7dfeecd0483f1ad7e9)
|
|
(This used to be commit 4022e710755a61a3439f739a78fa6965b9b7788e)
|
|
(This used to be commit b1863f897ffeec551ff8b1bad91fcfeede30beef)
|
|
(This used to be commit ff883d1cba4e998aa0a4b160d4fee118f79ca277)
|
|
(This used to be commit f90e5db8f9d1fa7062762af0ab3e0696998bf8bb)
|
|
interface. We now support an arbitrary set of flags to each parser,
and these can be used to control the string types. I have provided
some common IDL string types in librpc/idl/idl_types.h which needs to
be included in every IDL file.
* added IDL for the endpoint mapper. Added a test suite that enumerates
all endpoints on the server.
(This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
|
|
(This used to be commit 49f1654510f0ea7681b386296b67282791c4b319)
|
|
(This used to be commit c8b87f5feb7756c7a5b38135517788c9f4ade36f)
|
|
(This used to be commit 9109cb832a3807b3eee9e52c8c533e2bf0c8007a)
|
|
(This used to be commit 63b9d2803c9e5b44680a72b127f6a58eb44a3c60)
|
|
debug level 2 or above. This is more useful for checking that
something hasn't broken without swamping yourself with output.
(This used to be commit 53ff3a572a23c2f45c5d503255bc6b535ca99134)
|
|
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
|
|
(This used to be commit a5eeb3be0577e0ce91ac1f6e641782e4acbbda07)
|
|
(This used to be commit e9d18ecc2d513dc7aba9a0545808a95893544fe6)
|
|
are in fact 4 byte aligned. Create a ULONG8 type in samr for
those. This type should probably be made global later.
(This used to be commit e7dd116138ed21922c8578bebe0452f03221b3b7)
|
|
source/build/pidl/
I imported the code using direct respository manipulation to preserve
the commit history
(This used to be commit 2ed87a52ccc343c281e29f5a18f3f99fe06beb28)
|
|
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
|
|
(This used to be commit 8601305c8100f03ffaee4754eae12e9b332508a4)
|
|
* "make clean" now removed the generated files
(This used to be commit 683259a4dd30861ed24e8e5df918c8725ae13800)
|
|
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
|
|
cross-checking of all settable fields
(This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
|
|
* added per-field testing of SetUserInfo
* fixed strlen_m()
(This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
|
|
(This used to be commit 9fee73793171e2cd295899ec0db8bcecfa95ca72)
|
|
cope with the 'samrtorturetest' user already existing in the samr test
(to cope with previously failed runs)
(This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db)
|