summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2003-11-23Removed unused variable.Tim Potter1-2/+0
(This used to be commit 40ccaeefed1a3baea356254795c698794cb81384)
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-23Add a strlen_m_term() function for returning the length of a stringTim Potter2-2/+17
including the termination. Using value(strlen_m((r->name)+1)*2) gives the wrong answer for the NULL string. (This used to be commit 7ae329e6630a07d29f83b6dd4572d26ab8a18c71)
2003-11-23fixed the handling of value() attributes on scalars in IDL thatAndrew Tridgell3-15/+11
reference other elements of the same structure (This used to be commit d8d17be290730670bad0fea91188d394160cb879)
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-23Strings in the winreg pipe are terminated.Tim Potter1-3/+3
(This used to be commit 1f56d4cd04840b350b098e698d369cd6b047cfe4)
2003-11-23ooh, this is fun!Andrew Tridgell10-545/+317
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)
2003-11-23save about 35% of the time for "make idl" by processing multiple IDLAndrew Tridgell3-65/+89
files at once, which means less perl startup time. (This used to be commit 64b2c67e479ddc754d18f752d347ba22a6d77682)
2003-11-23get rid of some more unused headersAndrew Tridgell10-40/+0
(This used to be commit 48276c768bc58aa531771e0172a7480ec94d3254)
2003-11-23by using a single proto.h we gain another factor of 4 in the speed ofAndrew Tridgell4-61/+12
"make proto" (This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)
2003-11-23final bit of tidyup and speedupAndrew Tridgell1-30/+13
(This used to be commit 1c980e6c4e89b24aa8fedf0b6684cd73f34b6c25)
2003-11-23much faster inner loop and neater codeAndrew Tridgell1-58/+54
(This used to be commit 9ea02c51d449095b7f17edb3fb82d3722cdd9c20)
2003-11-23fixed loadparm handling properlyAndrew Tridgell1-41/+20
(This used to be commit 945ada7e7ec0f4b4df559bc171b9b18d30eff834)
2003-11-23nicer base type handlingAndrew Tridgell1-6/+6
(This used to be commit e58384eb53b654768d2eb53c222529849674753c)
2003-11-23reduced the number of magic types we need in mkproto.plAndrew Tridgell11-282/+66
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-23we don't need awk nowAndrew Tridgell1-1/+0
(This used to be commit db6d7daaef4d51e3c463fe76eefa2b22ff71a546)
2003-11-23get rid of our awk scriptsAndrew Tridgell2-224/+0
(This used to be commit f11f757c871dcb66813e44a3144df0f927108d8e)
2003-11-23changed to perl for mkproto, patch from vanceAndrew Tridgell3-15/+155
(This used to be commit 9386326868f43dab95b5508ce0ca5a9c1160a2eb)
2003-11-22added support for enumerated types in IDL files. This makes unionsAndrew Tridgell3-21/+54
easier to work with. (This used to be commit 60be15d306e7b65efdd27df02250c0264996ccf3)
2003-11-22added support for 'const' in IDL files. This makes it easy to defineAndrew Tridgell3-13/+33
symbolic names for bitfields etc. (This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)
2003-11-22added the beginnings of an IDL validator, to give clearer errors whenAndrew Tridgell2-0/+104
IDL is not valid (This used to be commit c1b708708e262350d697829d444d0fb6a981a80f)
2003-11-22 * fixed null terminated string handlingAndrew Tridgell4-11/+16
* fixed nested relative offsets in push functions the spoolss torture test now passes! (This used to be commit 60ced76160e4f4e2b511ebbeec31130c8ebcdd22)
2003-11-22 * fixed handling of relative subcontext unionsAndrew Tridgell3-23/+23
* fixed GetPrinter in spoolss after OpenPrinter (This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
2003-11-22dfs torture test now passesAndrew Tridgell1-7/+6
(This used to be commit 201cb6116df8ad74569d78827815855105a1ea11)
2003-11-22 * fixed NDR flag inheritance across push subcontextsAndrew Tridgell3-2/+13
* 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)
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)