summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/srvsvc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-1/+1
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r18757: Disable this for nowSimo Sorce1-1/+1
(This used to be commit f84a130c4bda8cc0221fff324d93a8617cacc511)
2007-10-10r18740: Some more work around srvsvcSimo Sorce1-14/+253
(This used to be commit be2f4a2c44ed2b4d586f0d6e9976158f33fb29d8)
2007-10-10r18352: printf("%s") is not safe for NULL strings on all platforms, butAndrew Tridgell1-55/+55
d_printf() is. This fixes a crash on solaris (This used to be commit 52d156671158fa25d3a84a46c98ca1d81e4a18d1)
2007-10-10r18348: fixed a valgrind error in RPC-SRVSVCAndrew Tridgell1-1/+2
(This used to be commit cc89ef3e1fd2f1d550ab65d32dfa894dc7963868)
2007-10-10r18345: test also flagsSimo Sorce1-2/+11
(This used to be commit 06469a6ba0ee1cc8701214bcefa1d6c696b0150b)
2007-10-10r18344: add a test to show hoe NetNameValidate behaves.Simo Sorce1-1/+74
fix the misleading idl names (This used to be commit 8367b3bcee9338fa3e268b7342ae8db928008b55)
2007-10-10r14843: the results of the srvsrv_* calls depends on the user,Stefan Metzmacher1-85/+132
try some tests anonymous... metze (This used to be commit eb63d83f007e374f77ff63b3d7b81f187260c8fa)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-0/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij1-5/+1
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r12461: Some updates to the srvsvc IDL from Ronnie SahlbergJelmer Vernooij1-5/+4
(This used to be commit ff7ef98f34811952331e72095505a2eae430fec0)
2007-10-10r5941: Commit this patch much earlier than I would normally prefer, but ↵Andrew Bartlett1-3/+3
metze needs a working tree... The main volume of this patch was what I started working on today: - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context. - Uses sepereate inner loops for some of the DCE/RPC tests The other and more important part of this patch fixes issues surrounding the new credentials framwork: This makes the struct cli_credentials always a talloc() structure, rather than on the stack. Parts of the cli_credentials code already assumed this. There were other issues, particularly in the DCERPC over SMB handling, as well as little things that had to be tidied up before test_w2k3.sh would start to pass. Andrew Bartlett (This used to be commit 0453f9d05d2e336fba1f85dbf2718d01fa2bf778)
2007-10-10r5298: - got rid of pstring.h from includes.h. This at least makes it a bitAndrew Tridgell1-2/+2
less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
2007-10-10r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for theAndrew Tridgell1-3/+3
large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0)
2007-10-10r4434: - fix some NetShare* idl functionsStefan Metzmacher1-3/+34
- add torture test for NetShareCheck() metze (This used to be commit 96000a2261ed56fda613a45e3aa460eb3c87082a)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell1-0/+1
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-1/+1
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r1544: add some comments and fix 'return True' -> 'return ret'Stefan Metzmacher1-5/+16
metze (This used to be commit a9a22d1e0db32c7715809efc4bb08ea5a5a9a69b)
2007-10-10r1543: add srvsvc_NetRemoteTOD idl and torture testsStefan Metzmacher1-0/+30
metze (This used to be commit 3f2b77d7ec024f54dc478522d85278ced8fce617)
2007-10-10r1530: we don't need to call srvsvc_NetShareGetInfo twiceStefan Metzmacher1-13/+0
in NetShareEnum and NetShareEnumAll metze (This used to be commit e5bf65b840cd7fbc97166c6313f5eb29de9d129f)
2007-10-10r1529: add NetSrvGetInfo torture testStefan Metzmacher1-0/+42
metze (This used to be commit 0018aeb2fe8c42e49fdcdd1ecc646b277625967d)
2007-10-10r1528: add NetCharDevQ torture testsStefan Metzmacher1-1/+149
metze (This used to be commit d44c85176a79461bfb465a5643b855aa0d8da726)
2007-10-10r1527: add NetCharDev torture testsStefan Metzmacher1-0/+125
metze (This used to be commit dde75d3b346be33213e9f38db01945ee45eff9df)
2007-10-10r1526: some cleanups and fixes for the srvsvc torture testsStefan Metzmacher1-40/+106
metze (This used to be commit 3a2a8973bee1d7e4b21cf807ef549ad3498b4e9d)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-15/+15
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r713: added a NetShareGetInfo torture test (thanks to abartlet for pointingAndrew Tridgell1-0/+45
out that this was missing) (This used to be commit 00916f236d3437a9080614d20a3ab589be6f9196)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher1-2/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2003-12-21minor updates to make the srvsvc test compileAndrew Tridgell1-5/+5
(This used to be commit 564e505e925d67be00ca2cbe21b2b9b33a1ac0c7)
2003-12-15fixed srvsvc DiskEnum callAndrew Tridgell1-5/+7
strangely, the output doesn't seem to contain an info level. Some programmer stuffed up the IDL :) (This used to be commit a39ee5d00341e1dbde0b38474ba4d5e980e74538)
2003-12-15patch from metze with updates to srvsvc and changes to pidl to allowAndrew Tridgell1-6/+5
for the server rpc boilerplate to correctly generate for multiple interfaces on an endpoint (This used to be commit 56143689ecf623e8a6ef5c453e6ad1ca9404411c)
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-20fixed srvsvc_NetShareEnumAll()Andrew Tridgell1-5/+8
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
2003-11-20Add a 1004 level for srvsvc.Richard Sharpe1-1/+1
(This used to be commit 9810e6f180564247dee584d197180d394b208c24)
2003-11-19switched to a new way of handling unions, so that we can handleAndrew Tridgell1-42/+36
alignment correctly for unions that have non-uint16 discriminants fixed the union handling in srvsvc.idl. (metze, please take a look at the changes, your IDL did match what was one the wire in most cases, but isn't the way IDL is usually coded) (This used to be commit 7b5d0287298e8505e0ec7b22d75d9f9a8a610031)
2003-11-19srvsvc IDL and test code from metze. Thanks!Andrew Tridgell1-0/+296
(This used to be commit 54d3cb22dc0ddc46eb114aa104e0660b3a437cb2)