summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18971: avoid strndup is a few places. Fixes a minor memory leak, and shouldAndrew Tridgell2-6/+11
fix RPC-LSA on AIX. (This used to be commit 6cce709d08579f4e00b44b692332a557b0ea3b86)
2007-10-10r18860: fixed some code that bitrotted while we didn't have the safety checkAndrew Tridgell1-1/+1
with NTSTATUS, WERROR etc. (This used to be commit fddb85bfa8bb5df7812d226a7a6f6fb41ccf107f)
2007-10-10r18844: Workaround win2k behaviour (which returns WERR_NO_MORE_ITEMS instead ofGünther Deschner1-3/+5
WERR_OK) in the dfs torture test. Guenther (This used to be commit dc1b8a3aae9f00fb7dfb0dc2fdd2ee3647ecebf1)
2007-10-10r18822: Automatically remove a forced dfs standard root creation.Günther Deschner1-30/+30
Guenther (This used to be commit 5af5c1877465092b0682d4f166f6e33511e4a292)
2007-10-10r18821: Correctly name dfs_AddStdRootForced() test.Günther Deschner1-4/+3
Guenther (This used to be commit 0ee08738697bee4fbeebb1e45211d193a6dc7abb)
2007-10-10r18800: fix a write behind the buffer bug...Stefan Metzmacher1-4/+2
Thanks Herb for finding this:-) This was my bug, I typed it in on gd's laptop and he just run 'svn ci' metze (This used to be commit 3c08e29f4fdde586084bdcf1b36eaf92ae944750)
2007-10-10r18782: Do not send random data to the password change (although that revealsGünther Deschner1-2/+2
interesting new password set tests), make sure to send valid characters. Guenther (This used to be commit f193c5347cf5ef019becbc98965b83c6b249483c)
2007-10-10r18776: Fill in and test dfs_ManagerInitialize().Günther Deschner1-3/+32
Guenther (This used to be commit 3e0e9506b62322cba65d992fc8d783001595e7e7)
2007-10-10r18766: Getting rid of one test_GetManagerVersion() call and fix the build.Günther Deschner1-5/+3
Guenther (This used to be commit dc9045b30c97e676a4d77356d3430f7337089ab5)
2007-10-10r18764: Test all standalone DFS root functions in the torture test.Günther Deschner1-0/+237
Guenther (This used to be commit 54f41ac444b9dd083ca1bd33bc8a2585f3c03344)
2007-10-10r18763: Removing old dfs_Add test, will be replaced with another one soon.Günther Deschner1-35/+0
Guenther (This used to be commit eca9c200849d02006c171b7fe87b85054c26b7a5)
2007-10-10r18759: Do not use "simple" as test password as pointed out by Andrew Bartlett.Günther Deschner1-3/+14
Thanks metze. Guenther (This used to be commit ea313d55655626cd4c8058cf5e89c0baa1cdcd6d)
2007-10-10r18757: Disable this for nowSimo Sorce1-1/+1
(This used to be commit f84a130c4bda8cc0221fff324d93a8617cacc511)
2007-10-10r18751: Check for samr reject codes and their particular order.Günther Deschner2-19/+203
Guenther (This used to be commit 8f9ab07e78a3c89085754c9f6447c2b56292980c)
2007-10-10r18741: test dfs_Enum and dfs_EnumEx in the torture test.Günther Deschner1-23/+104
Guenther (This used to be commit de5fe8350d7c5812d4197ad2712275f338e43243)
2007-10-10r18740: Some more work around srvsvcSimo Sorce1-14/+253
(This used to be commit be2f4a2c44ed2b4d586f0d6e9976158f33fb29d8)
2007-10-10r18668: fix ref pointer related bugs, we should watch the compiler warnings!Stefan Metzmacher1-4/+4
only cc on us4 bailed out... metze (This used to be commit 35da9e4f4ff6082ea938c9c72992015f8b26280c)
2007-10-10r18639: Get rid of the keepref supportJelmer Vernooij2-8/+8
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r18637: Fix the build. Sorry,Günther Deschner1-1/+0
Guenther (This used to be commit d6cc668a6c1dcf45d06a1f666d5341f2a6e7f131)
2007-10-10r18625: dfs_GetManagerVersion() returns a version number, not just an existGünther Deschner1-6/+5
flag. Guenther (This used to be commit 3e42ccc6096198458f66841f91234f670ceb59c4)
2007-10-10r18566: fixed the winreg pipe and winreg testsAndrew Tridgell1-1/+17
Jerry, there is a big difference on the wire between these two: [out] uint32 x; and [out] uint32 *x; if you change from [out] uint32 x; then you need to change to: [out,ref] uint32 *x; otherwise it changes the format on the wire, which means we are no longer compatible with MS servers. but be aware that even if you change to a ref ptr, you also need to change all the client code to set all the return variables in the out part of the structure. That's why I don't like the MIDL restriction of forcing the use of ref pointers for output variables - it makes life much harder when writing client code, and makes the code much more error prone (just look at all the extra code needed to make this work again). I know we could auto-allocate these variables in the generated client side NDR code, but if we did that then we would have no way of doing a _real_ ref out pointer, which we really wanted to set to some already allocated variable. So please hold off on changing our idl to use the MIDL convention for output variables until Jelmer and I have had a good "chat" about this :-) (This used to be commit 555aed43ba3c08360ca7fa921622b80732a7f657)
2007-10-10r18565: Fix echo.idl to be Samba3-, MIDL and midlc compatibleJelmer Vernooij1-0/+7
(This used to be commit ab0a798c57564901f0adcd8aedc1ef0928e79edd)
2007-10-10r18561: Fix [out] pointers in winreg IDLGerald Carter1-4/+4
(This used to be commit 694677dafefdd94fa0a9bed93efab70c528dcb26)
2007-10-10r18408: Only output a message if the async request fails.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 1ea6b600f42d3ccfb75da98f2013928fda524450)
2007-10-10r18392: add sidtouid and sidtogid tests to RPC-UNIXINFOStefan Metzmacher1-0/+45
metze (This used to be commit f1708fd9434ee2a9ae25e9d912f0c350d8e1a256)
2007-10-10r18391: - match the samba3 protocol for UNIXINFOStefan Metzmacher1-3/+23
- add a test for GidToSid metze (This used to be commit fb92643a8b64428e8259bc21fe04f876b24bfd84)
2007-10-10r18385: fix crashes in the RPC-UNIXINFO testStefan Metzmacher1-0/+4
jelmer: I think there're a few ref pointer related bugs in pidl we need to discuss them the next days metze (This used to be commit 8c4241ecbbd9686d990073cec53dc1fde0fdde9b)
2007-10-10r18358: handle errors in the RPC-LSA async testAndrew Tridgell1-6/+8
(This used to be commit d46c3be9f9db6666be52b5584b0210da925106d1)
2007-10-10r18356: doing 1000 of these requests can take over an hour underAndrew Tridgell1-11/+12
valgrind. Reduce to 50, which is plenty for testing the code (This used to be commit 911c8e1c73bf3953591755ecb4c50f5644fc9c18)
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-10r18325: more warnings and one compile error on aix fixedAndrew Tridgell1-1/+1
(This used to be commit 6e7e151432a31e48a67679df3966d2227d555317)
2007-10-10r17988: Add 'not for Samba4' hacks into the RPC-NETLOGON torture test.Andrew Bartlett1-0/+56
Andrew Bartlett (This used to be commit 2aa0e6a1bf977d60a14314d5d82d176824751d00)
2007-10-10r17956: LSA Cleanup!Andrew Bartlett2-15/+97
This commit cleans up a number of aspects of the LSA interface. Firstly, we do 2 simple searches on opening the LSA policy, to obtain the basic information we need. This also avoids us searching for dnsDomain (an invented attribute). While I was at it, I added and tested new LSA calls, including the enumTrustedDomainsEx call. I have also merged the identical structures lsa_DomainInformation and lsa_DomainList. Also in this commit: Fix netlogon use of uninitialised variables. Andrew Bartlett (This used to be commit 3f3fa7f466df56612064029143fbae8effb668aa)
2007-10-10r17954: Avoid including \n in error strings (left over from DEBUG() conversion).Andrew Bartlett1-2/+2
Make it easier to debug CrackNames failures. Andrew Bartlett (This used to be commit 5dd07074db0b25ea2e929bbdcf89f26e3665bd1c)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij4-4/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17827: Fix an error messageVolker Lendecke1-2/+2
(This used to be commit 4242309d54d201b35e9cc96c0359ded64cf7485a)
2007-10-10r17826: Add line numbers to the d_printfsVolker Lendecke1-19/+28
(This used to be commit 8df16dce4d67c17a24aba934f0d656aa5670e539)
2007-10-10r17787: ifdef out unused macros and generate a smb_panic()Stefan Metzmacher1-2/+24
when the wrong macro is used on a field. metze (This used to be commit dd0f692d19416c82f237661710b814ba20163605)
2007-10-10r17624: Samba3 does not yet do getprinterinfo level 6Volker Lendecke1-0/+5
(This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7)
2007-10-10r17442: print out credentials on the "secret" objectClass and "trustedDomain"Stefan Metzmacher1-0/+18
objectclass metze (This used to be commit af1efa0c790a86f68bd7f761b22478895bfdaaea)
2007-10-10r17256: fix 2 crash bugs, which are introduced by making parametersStefan Metzmacher1-0/+3
ref pointers! I'm sure there're more places and more care is needed when idl files are changed. Hopefully testing against windows in the build farm find such bugs in future... Why is in the client library this no more possible: NTSTATUS foo([in,out,ref] uint8 *foo); and then just r.in.foo = &foo; status = dcerpc_foo(p, mem_ctx, &r); and r.out.foo will set to r.in.foo via pidl magic, that worked some time ago... metze (This used to be commit d8952f00c77ba59e0806b0de802ac28ac977779c)
2007-10-10r17205: Even if this makes me look foolish, at least start to scratch on the ↵Volker Lendecke2-24/+308
surface of spoolss. If snum is to be removed, then we should make at least the attempt to walk parts of the code before and after the changes. This walks GetPrinterInfo level 0-7. Volker (This used to be commit 0c05f571a0eda2412896f340b7c751cf7cbdbd2a)
2007-10-10r17187: Beginnings of a little lsa walker for Samba3, if only to prevent theVolker Lendecke2-0/+78
regression we had in 3.0.23... Volker (This used to be commit 0236f3b41a4f9015f8551ffb67db59fa48212bf5)
2007-10-10r17104: Rename function parameters and variables to avoid shadowing globalAndrew Bartlett1-10/+10
declarations. Andrew Bartlett (This used to be commit 15dd43b77328c4d56438bdb34b3e8139c5a83878)
2007-10-10r17085: reuse the existing sec_desc_buf structStefan Metzmacher1-1/+1
metze (This used to be commit 22463cbcdd159657d04657071451738e768d0b2a)
2007-10-10r17082: Add a test that walks and tests denying tconX access via the share ↵Volker Lendecke3-19/+293
security descriptor. This is something that W2k3 does _not_ pass and probably is not expected to, it seems the don't check access at tconX time. Thanks to metze for the hint how in the srvsvc_NetShareInfo1501 struct the length of the sd can be encoded in idl. As metze says, there's probably more to the share secdesc, this needs more testing. This one is here to walk the samba3 code. Volker (This used to be commit 67185508229a8d7f144c22cb194f573c932d6de5)
2007-10-10r17074: Extend the rpc-samba3-getusername test: This creates a normal user ↵Volker Lendecke1-49/+275
and we check if we can actually see the user SID on a fresh sessionsetup. This also gives us the simple create_user, which can lead to more fun tests :-) Volker (This used to be commit 92afe1156915ab6c7e21380000bdad93414d0829)