summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r16794: Make Samba4 pass it's own RPC-SAMR test, at least in part. There areAndrew Bartlett1-12/+67
still a couple of unimplemented functions, but this is far better than not testing this at all. In particular, this exercises the password_hash module. Specific changes: - Add support for SetDomainInfo - Add many more info levels to QueryDomainInfo - Set a domain comment in RPC-SAMR, and verify it is kept - Refactor QueryUserInfo not to always serach for all attributes - Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls - Make OemChangePassword2 search under the samdb_base_dn(), so it finds the user when partitions are active. - Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and 'Multiple' alias operations in RPC-SAMR for Samba4 - Add RPC-SAMR as a 'slow' RPC test (it is quite slow) Andrew Bartlett (This used to be commit 01d25c9d6ca8d036d40040e5ee87a330e5b84d55)
2007-10-10r16770: Get closer to having Samba4 pass some of the RPC-SAMR test, byAndrew Bartlett1-1/+18
skipping some checks. These should be removed, and the code fixed, but currently we are loosing quality because the test isn't run by default. Andrew Bartlett (This used to be commit 1306f60c97562a71ae15f0ab257ddcd5e0af36d4)
2007-10-10r16741: add a RPC-LSA-GETUSER test,Stefan Metzmacher2-9/+32
which is very useful for analysing a windows machine remotely with this I found that vista-beta2 doesn't have an 'administrator' account and mapps any not known user to MACHINENAME\Guest metze (This used to be commit 97ae93627527f65b6ecded9884a26d4cffa1409d)
2007-10-10r16331: Split out registering of multi fn tests, fix typo in name of pac suite.Jelmer Vernooij1-40/+40
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)
2007-10-10r16304: Improve testing UI API. This now allows registering the fullJelmer Vernooij1-27/+9
test suite tree, looks a bit more like other unit testing API's, fixes some memory responsibility issues, introduces testcases, and removes the need for tests to call torture_ok(). (This used to be commit 0445b1a56a02552f895f400960b9ced39244a144)
2007-10-10r16140: How on earth does this work on most build farm machines.... ?Volker Lendecke1-1/+1
(This used to be commit f8bae84e89bb2fe8deea7795ad59fbefa9c98e79)
2007-10-10r16123: Samba3 in the buildfarm will happily create (faked(!!)) users ↵Volker Lendecke1-4/+10
anonymously. Disable that test for now. (This used to be commit 9015713d62558ba76d693c5e8a4c23e3fd3ccab5)
2007-10-10r16059: Remove accidential commitVolker Lendecke1-1/+0
(This used to be commit e980066111cf442102b849b04a411c3f2df8e05b)
2007-10-10r16058: Test a Join using SetUserInfo level 25, as XP does if the user did notVolker Lendecke1-13/+86
exist. Samba3 right now fails to transfer the acb_info in the info21 sub-part to the passdb backend, rendering the workstation locked. Thanks to Tom Bork for finding this one. Now working on a fix :-) Volker (This used to be commit 6613093e69f273f32bdafde0d0c8f122e8466dc0)
2007-10-10r16045: RPC-SAMBA3SESSIONKEY tests the different variants of joins ↵Volker Lendecke2-10/+154
(anon/auth smb, anon/auth bind). Jeremy, this is the little test I promised to you that shows the places where we need the SystemLibraryDTC key. Volker (This used to be commit 9164c24d8741384ff5173fbf6cf3337f42d80e70)
2007-10-10r16044: Create a samba3 specific file in torture/rpc. The tests in there surviveVolker Lendecke3-127/+994
against W2k3, but they are designed to walk existing Samba3 code paths. It might be possible that I add something like that to other subdirs like raw/. RPC-BINDSAMBA3 excercises the bind variants that samba3 supports right now. RPC-NETLOGSAMBA3 does a samba3 style join, does some schannel-protected netlogon operations and leaves again. Samba3 right now does not survive this, I'm about to fix it soon. I'll also post a *VERY* dirty hack (fake users in sys_getpwnam()) to be able to run this in the build farm. Volker (This used to be commit 60b45bf8b6d0d2bb216e319891d50d0e07ab3010)
2007-10-10r15950: another printf() crash on solarisAndrew Tridgell1-84/+84
(This used to be commit 5a065b9225f7a7fe221c61e26a08abc0d29f3bb9)
2007-10-10r15930: Attempt to fix the buildfarm segfaults -- thanks Tridge for the hintsVolker Lendecke1-0/+4
(This used to be commit e363020115fc17caee6c3230d46fff41670a27d4)
2007-10-10r15916: Modify RPC-AUTHCONTEXT so that it can be anabled in samba3 make testVolker Lendecke1-1/+1
(This used to be commit 4298fde656ac72a2f0fae9f25e3b5b1f3948f8f5)
2007-10-10r15912: Run an rpc request with an invalid uid and make sure ↵Volker Lendecke2-0/+128
NT_STATUS_INVALID_HANDLE is returned. Volker (This used to be commit 0ef6ecda1dd009174c2c684a1dd3adabf4772daf)
2007-10-10r15902: more test code that should be using d_printf()Andrew Tridgell1-3/+3
(This used to be commit b52adaa04564afb7133f442b6f997d99b74dcaa3)
2007-10-10r15898: use d_printf() in some more places to fix more torture seg faults onAndrew Tridgell1-7/+7
solaris (This used to be commit dd1ef82560c62c8c10e9d43b8d1d68512fe0aae5)
2007-10-10r15779: Remove keepref from atsvc and efs.Jelmer Vernooij1-4/+4
(This used to be commit b44a8c32d35bcd0dc7339793c34cb84dd6981366)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+1
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r15507: if we change the idl, we need to change the calling code too:-)Stefan Metzmacher1-3/+3
is it possible to run the RPC-UNIXINFO test in samba4's make test? metze (This used to be commit a00063eeb308dae8396e3b79ed5dd7884652f1ba)
2007-10-10r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my headAndrew Bartlett1-1/+1
around the mess that is composite functions... Async might be all the rage, but it's bloody painful to debug. Andrew Bartlett (This used to be commit 756e1dad7ce54b83f8170db3434bfcfc4afe7e65)
2007-10-10r15502: Typo fix.Rafal Szczesniak1-1/+1
rafal (This used to be commit f076041ff16cbc3f58d0d6244fc0857b34533dda)
2007-10-10r15500: Add support for interactive prompting on bad passwords to the RPC ↵Andrew Bartlett1-1/+1
libraries. This support requires that the bind_ack and alter_ack recv functions also be send the DCE/RPC fault. This would be best done by having the ack run as a normal RPC reply callback, but this isn't easily possible for now. Andrew Bartlett (This used to be commit be6dde22fe728d64d47875699d3421c6d8d872a4)
2007-10-10r15499: This test can't run if the remote server won't let us open a policy ↵Andrew Bartlett1-1/+4
handle. Andrew Bartlett (This used to be commit ca0ffb1218f3c2482b6b04463e627accd03d8cf9)
2007-10-10r15456: Inspired by a short discussion with abartlet on IRC.Rafal Szczesniak1-9/+22
- create "async" parameter for smbtorture to categorise async tests potentially hard for windows servers - create "num-async" parameter to specify the number of simultaneous async requests to be made - move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably do the same for many others async tests...) It's an interesting way to determine resources availability on windows servers... rafal (This used to be commit 0d008fbea0aec279d389cff676a4319262475d17)
2007-10-10r15426: Implement SPNEGO as the default RPC authentication mechanism. WhereAndrew Bartlett1-1/+1
this isn't supported, fallback to NTLM. Also, where we get a failure as 'logon failure', try and do a '3 tries' for the password, like we already do for CIFS. (Incomplete: needs a mapping between RPC errors and the logon failure NTSTATUS). Because we don't yet support Kerberos sign/seal to win2k3 SP1 for DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos isn't demanded. Andrew Bartlett (This used to be commit b3212d1fb91b26c1d326a289560106dffe1d2e80)
2007-10-10r15412: Put the test in a dangerous category.Rafal Szczesniak1-0/+5
rafal (This used to be commit 52b4ef14a02ca1c72cef2467b214518bbe32c8f6)
2007-10-10r15394: Put initial code for testing async dcerpc binding. CurrentlyRafal Szczesniak2-0/+79
it only tests multiple simultaneous bind requests using transport specified in command line. It will be interesting to use various transports at the same time and test it agains windows servers... rafal (This used to be commit 7e4756116e59f9a0599a80fb5ac06118817f4326)
2007-10-10r15358: Fix some compiler warnings / type safety. Found by tccJelmer Vernooij1-5/+6
(This used to be commit 12ba42de5886f9f4f9b1698476557e0c217d06f3)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij2-2/+0
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher8-8/+8
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
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-10r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhereJelmer Vernooij7-13/+11
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij36-35/+37
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14712: Do not proceed in event of failure to obtain a policy handle.Andrew Bartlett1-6/+6
This makes the log results much easier to understand. Andrew Bartlett (This used to be commit 8566515a51d9b63c40fd52cb138e9ec8025cd6c2)
2007-10-10r14667: Fix indentation.Rafal Szczesniak1-29/+29
rafal (This used to be commit 634111bb127432904b80c27032c16e87df76c2b4)
2007-10-10r14665: More testing in RPC-SAMR. It looks like we will probably need anotherAndrew Bartlett1-20/+41
ldb module to handle which flags can be set under what circumstances. Andrew Bartlett (This used to be commit 1d1ff501f2d2b952a4dd80c374c857be0456173c)
2007-10-10r14636: Print an error on torture connect failure. (Helps with debugging).Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 335bb7e6924d357e3dadf02f133a3037bebfe385)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij6-1/+6
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14518: Support STANDARD_VISIBILITY property on binariesJelmer Vernooij1-1/+1
(This used to be commit 2550f47030e00381b0a2d1a46dfdcc6c3783b64f)
2007-10-10r14497: Fix build with shared librariesJelmer Vernooij1-0/+5
(This used to be commit c74fc55831ca24819ae7f5e0920d0351e2b46a08)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij28-33/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij9-3/+16
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij31-0/+38
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij40-27/+202
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij9-0/+9
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij10-0/+15
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13908: Improve the RPC-SAMSYNC test to cross-check some attributes I wasn'tAndrew Bartlett2-9/+32
sure about. This finds a new ACB_PW_EXPIRED attribute. Andrew Bartlett (This used to be commit 54caf949425cb9a3437bd7051930384167b5e07d)
2007-10-10r13903: Don't generate prototypes for modules and binaries in include/proto.h byJelmer Vernooij3-0/+3
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10r13709: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit 291da7bac3e8707009b239bd3c8b0a0d14f54481)