summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2003-11-22 * enable RPC/NDR validation in all smbtorture codeAndrew Tridgell4-4/+7
* 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)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell20-100/+565
* 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-22 * you can't have two parameters with the same name (pidl doesn't enforceAndrew Tridgell1-3/+3
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)
2003-11-22Convert all NTSTATUS return codes to WERROR.Tim Potter2-53/+334
Implement all OpenXXX calls, EnumKey, OpenKey, QueryInfoKey. Started EnumValue but it doesn't work yet. (This used to be commit 5cba48252a8b3338a296d7ec8fa8ccba43dd190e)
2003-11-22added Parse::RecDescent module into pidl to ensure we all use the sameAndrew Tridgell4-1/+3058
version. This should fix the problems Richard was seeing. (This used to be commit 76c24a5cb09b096a9cb490f3bb42af0b9d0f5fa9)
2003-11-22added some explanations for epmapper IDL and dom_sid2Andrew Tridgell2-1/+24
(This used to be commit 5962f1cffa9273cc06c8a3c4a112f3ce94b84dae)
2003-11-21fixed a bug with pushing non-pointer unionsAndrew Tridgell1-1/+3
(This used to be commit bc2fbc79cc7c0308934f351b067a88b4b397de37)
2003-11-21fix a smbtorture memory leakAndrew Tridgell1-7/+2
(This used to be commit 0eff7c519b87d9c69da61a7dfeecd0483f1ad7e9)
2003-11-21cleaner handling of relative pointers to stringsAndrew Tridgell1-3/+3
(This used to be commit 4022e710755a61a3439f739a78fa6965b9b7788e)
2003-11-21don't ignore .h files hereAndrew Tridgell1-1/+1
(This used to be commit b1863f897ffeec551ff8b1bad91fcfeede30beef)
2003-11-21forgot to commit this, sorryAndrew Tridgell1-0/+41
(This used to be commit ff883d1cba4e998aa0a4b160d4fee118f79ca277)
2003-11-21print out the UUIDs from the end point mapperAndrew Tridgell1-0/+7
(This used to be commit f90e5db8f9d1fa7062762af0ab3e0696998bf8bb)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell24-283/+683
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)
2003-11-21Implement DeleteKey, DeleteValue, FlushKey.Tim Potter2-6/+63
(This used to be commit 49f1654510f0ea7681b386296b67282791c4b319)
2003-11-21Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.Tim Potter5-3/+337
(This used to be commit c8b87f5feb7756c7a5b38135517788c9f4ade36f)
2003-11-21More work on eventlog - still doesn't work. (-:Tim Potter2-10/+38
(This used to be commit 9109cb832a3807b3eee9e52c8c533e2bf0c8007a)
2003-11-21avoid calling the print routines completely if debug level < 2Andrew Tridgell1-6/+7
(This used to be commit 63b9d2803c9e5b44680a72b127f6a58eb44a3c60)
2003-11-21only display really verbose packet dumps when smbtorture is run atAndrew Tridgell1-2/+6
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)
2003-11-21added 4 more levels to samr_QueryDisplayInfo()Andrew Tridgell5-62/+106
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
2003-11-21added support for 'ascstr', a ascii string in MSRPC !Andrew Tridgell2-5/+6
(This used to be commit a5eeb3be0577e0ce91ac1f6e641782e4acbbda07)
2003-11-20ignore generated idl.pmAndrew Tridgell1-1/+2
(This used to be commit e9d18ecc2d513dc7aba9a0545808a95893544fe6)
2003-11-20Todd Sabin pointed out that a couple of the values I marked as hyper_tAndrew Tridgell1-3/+10
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)
2003-11-20we now use a copy of pidl inside the samba4 source tree atAndrew Tridgell3-12851/+4
source/build/pidl/ I imported the code using direct respository manipulation to preserve the commit history (This used to be commit 2ed87a52ccc343c281e29f5a18f3f99fe06beb28)
2003-11-20Add initial work on eventlog - doesn't quite work yet.Tim Potter5-7/+135
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
2003-11-20added samr_QueryDisplayInfo() (only level 1 so far)Andrew Tridgell2-1/+57
(This used to be commit 8601305c8100f03ffaee4754eae12e9b332508a4)
2003-11-20* fixed libndr.h headerAndrew Tridgell3-34/+12
* "make clean" now removed the generated files (This used to be commit 683259a4dd30861ed24e8e5df918c8725ae13800)
2003-11-20moved the pidl auto-generated files out of CVSAndrew Tridgell30-34011/+19
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
2003-11-20extensive samr_SetUserInfo/samr_QueryUserInfo testing, withAndrew Tridgell4-35/+59
cross-checking of all settable fields (This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
2003-11-20 * fixed level2 of QueryUserInfoAndrew Tridgell13-25/+223
* added per-field testing of SetUserInfo * fixed strlen_m() (This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
2003-11-20make sure we don't try to use c++ style variable declarationAndrew Tridgell1-1/+5
(This used to be commit 9fee73793171e2cd295899ec0db8bcecfa95ca72)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell8-53/+686
cope with the 'samrtorturetest' user already existing in the samr test (to cope with previously failed runs) (This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db)
2003-11-20fixed pushing structures containing pointers inside unionsAndrew Tridgell1-1/+1
(This used to be commit bb30f42cd4e20d53066634727347a601b4eb562e)
2003-11-20a bit neater way of emitting codeAndrew Tridgell3-210/+217
(This used to be commit 964c3237215b36f5768b98c19689ddc43cf86cac)
2003-11-20fixed a commentAndrew Tridgell1-1/+1
(This used to be commit d996c880f49c89c22775ad7e048dec6d5d5f82c9)
2003-11-20 * cope with pidl not being in $HOME/pidlAndrew Tridgell2-3/+9
* cope with empty structures in unions (This used to be commit a706ff78937bea64acd28381466770749566399f)
2003-11-20fixed srvsvc_NetShareEnumAll()Andrew Tridgell4-163/+37
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
2003-11-20Add a 1004 level for srvsvc.Richard Sharpe4-1/+170
(This used to be commit 9810e6f180564247dee584d197180d394b208c24)
2003-11-20use a precompiled grammer in pidl. This speeds up pidl by about aAndrew Tridgell7-8/+12860
factor of 2 on my system. (This used to be commit a291dd835f68ae5a109670b1d1ca1a48b2aacfb6)
2003-11-20Added ATSVC pipe.Tim Potter8-3/+843
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
2003-11-20added samr_LookupRids() and test codeAndrew Tridgell5-16/+120
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20added samr_LookupNames() and test codeAndrew Tridgell10-46/+127
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)
2003-11-20avoid compiler warnings for unused variables with [relative] pointersAndrew Tridgell1-1/+2
(This used to be commit 786566e53c22d8d0813cf006a70aef8508bba4dd)
2003-11-20its LoadStructure() in util.pm that doesn't like strict perl - anyAndrew Tridgell1-11/+9
perl gurus out there know why? (This used to be commit a1d9afc92fce52a76c0a233513b2cb24f0cb9cf5)
2003-11-20damn, "use strict;" in util.pm breaks pidl - but why?Andrew Tridgell2-1/+1
(This used to be commit 8f54792392ccaa6c1464ed8ec90e44c0048b5ee2)
2003-11-20use strict perl package everywhere for error checkingAndrew Tridgell5-2/+6
(This used to be commit 3b7a4b70a321a1e8e378b8c5cc1e87a1c3399e91)
2003-11-20make the echo idl match the win32 IDL againAndrew Tridgell4-7/+7
(This used to be commit 4b901bd717a48daae24d8f7738169ac3cc5ba7fa)
2003-11-20EnumPrinterData in spoolss now worksAndrew Tridgell6-9/+77
(This used to be commit af07ca7fbcb4118f2415218d0c48798119b7c6b2)
2003-11-20 * added a 'lstring' type for spoolssAndrew Tridgell3-4/+19
* added some notes on type equivalents in NOTES.txt (This used to be commit a44d952fcb7ebf85d3072b622e5656dcf25cfbb0)
2003-11-20some errors are expected in SAMR and LSA tests - don't fail the testAndrew Tridgell2-0/+18
when they are given (This used to be commit 6e2d3aa433cc77f2ac9f2a7c807bc2668a8b7a9a)
2003-11-20 * changed to midl syntax using [case(x)] instead of case(x)Andrew Tridgell10-357/+127
* use empty defaults instead of a dummy empty structure (This used to be commit 555a340d3c0697b147799bc0a6615e01e196daf6)