summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell25-1259/+2315
* moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp code from samba3 (thanks Andrew! the new interface is great) * added signing/ntlmssp support in the dcerpc code * added a dcerpc_auth.c module for the various dcerpc auth mechanisms (This used to be commit c18c9b5585a3e5f7868562820c14f7cb529cdbcd)
2003-11-26added some paranoid checking for enumsAndrew Tridgell1-2/+5
(This used to be commit 3492f37b0bf14797514f1dc603f518bf5b801c3c)
2003-11-25Spoolss functions return WERROR not NTSTATUS.Tim Potter1-187/+196
Start writing idl for forms RPCs. (This used to be commit 9274ef60b690c334d426dfa815fe472b2da19e2d)
2003-11-25CVS: ----------------------------------------------------------------------Jelmer Vernooij14-249/+259
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: Makefile.in configure.in include/includes.h include/ntvfs.h CVS: include/smb.h lib/iconv.c lib/module.c ntvfs/ntvfs_base.c CVS: ntvfs/cifs/vfs_cifs.c ntvfs/ipc/vfs_ipc.c CVS: ntvfs/posix/vfs_posix.c ntvfs/print/vfs_print.c CVS: ntvfs/reference/vfs_ref.c ntvfs/simple/vfs_simple.c CVS: passdb/pdb_interface.c CVS: Added Files: CVS: include/module.h CVS: ---------------------------------------------------------------------- Update to the modules system. Fixed: - get rid of smb_probe_module - merge older updates from 3.0 - introduced register_subsystem() and register_backend() functions - adapt ntvfs and charset to use new register functions - made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba') - got rid of some old remains Things that still need work: - Did I break tankFS? I don't think so, but I can't test it here :-( - Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, if applicable) - Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions - Accept wildcards in 'preload modules' option, instead of loading recursively (This used to be commit 7512b9ab1a8b3103f7a6c13f736353c46a26b668)
2003-11-25Update to the modules system. Fixed:Jelmer Vernooij1-13/+17
- get rid of smb_probe_module - merge older updates from 3.0 - introduced register_subsystem() and register_backend() functions - adapt ntvfs and charset to use new register functions - made smb_load_modules() work recursively (e.g. 'preload modules = /usr/lib/samba') - got rid of some old remains Things that still need work: - Did I break tankFS? I don't think so, but I can't test it here :-( - Add 'postload modules = ' (for modules that need to be loaded after fork() in smbd, if applicable) - Convert RPC, auth, passdb, etc to use new register_{subsystem,backend}() functions - Accept wildcards in 'preload modules' option, instead of loading recursively (This used to be commit 3433c4c71f20dde96d30e02a49bbe09a9ce6c036)
2003-11-24 * fixed byte order in epmapper parsingAndrew Tridgell4-37/+78
* allow rpc transport to be specified on command line in smbtorture (This used to be commit 8a82050fd6f45bcdb31c2c365eaed5fc12599e4f)
2003-11-24initial implementation of dcerpc over tcp. RPC-EPMAPPER works, now toAndrew Tridgell6-9/+236
add epm_Map calls and support the rest of the pipes (This used to be commit 39add481582609ddb9d0b3bae45fde3226ece481)
2003-11-24 * prepared the dcerpc subsystem for adding the RPC over TCP transportAndrew Tridgell5-120/+178
* fixed a uninitialised variable bug in pidl (found by valgrind) (This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)
2003-11-24removed the STFS specific flags in the Makefile.Andrew Tridgell1-14/+4
Jim, we are going to need to redo the STFS backend as a module, as otherwise maintaining it outside of the samba.org tree will become too awkward. (This used to be commit 0fedafd7a026c8a793a1478d8a989f0c930092b4)
2003-11-24added tests for epm_Map endpointer map callsAndrew Tridgell3-27/+62
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)
2003-11-24give far more detail in the EPMAPPER resultsAndrew Tridgell3-31/+107
(This used to be commit 420301969820ffaa0a87b091c7a79372c99cb658)
2003-11-24make sure we don't try to update a constantAndrew Tridgell1-2/+8
(This used to be commit 4a6034f2e37d1050364fc167f1b71b5c806dfdc9)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell6-52/+201
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell12-41/+233
test suite. The test suite dumps all of the interfaces available on all pipes. There sure are a lot more interfaces on w2k3 than w2k ! (This used to be commit f94bc079902d725b63155d8d2de5bf408c6e7335)
2003-11-23 * better diagnostics in ndrdumpAndrew Tridgell3-4/+37
* added samr_Connect2() (This used to be commit 6b262ca37ca3fc0e3210b4379b2d9e46e1a2d336)
2003-11-23added a tool called 'ndrdump' that allows you to dump NDR dataAndrew Tridgell6-3/+246
according to the current IDL taking the data from a file. In combination with a little hack to ethereal to extract data this is a quite powerful IDL development tool. (This used to be commit 229a325c3cf0d4dc1e910ed32e1d7391040aeba1)
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-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)