summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2010-09-10s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the ↵Matthias Dieter Wallnöfer1-27/+10
buildfarm The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than it looks like.
2010-09-10s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵Günther Deschner1-4/+18
RPC-SPOOLSS-PRINTSERVER. Guenther
2010-09-09s4:torture/rpc/winreg.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer1-71/+72
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefsKamen Mazdrashki1-4/+28
At first I got the impression we are not handling those cases, but after those tests surprisingly passed I saw that we have correct behavior implemented in a helper function. So I decided to commit those tests in case someone change the strange-looking check for DRSUAPI_DRS_ADD_REF flag in a function that handles delete operation :)
2010-09-05dsgetinfo: Set modulesdir when using ldb without ldb_wrapJelmer Vernooij1-0/+3
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-04torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell1-15/+50
Now that we support SePrintOperatorPrivilege, an interaction between the spoolss tests and the privileges tests cause a failure. The failure happens like this: - the spoolss.access test creates and then deletes an account with SePrintOperatorPrivilege privilege - this leaves the privileges database with an entry for a deleted account that is still visible via LSA calls. This is correct behaviour (verified against w2k8r2) - the lsa.privileges test then enumerates all accounts that have at least one privilege, and gets the SID for the deleted account - it then called LookupNames and LookupSids on this deleted account, and gets an error. The fix is to not call LookupSids and LookupNames on sids which have SID_NAME_UNKNOWN as the type Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-27s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"Matthias Dieter Wallnöfer1-9/+18
Hopefully this fixes the build on Solaris 8.
2010-08-27s4:torture/spoolss_access.c - fix discarded const warningMatthias Dieter Wallnöfer1-2/+3
"discard_const_p" seems the most appropriate here.
2010-08-25s4-smbtorture: Added a torture test for forest trustsSumit Bose2-0/+838
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25s4-smbtorture: Make test_SetupCredentials3 publicSumit Bose2-1/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose1-0/+10
2010-08-17smbtorture: Ensure that the RPC setup returns correct status.James Peach1-4/+4
2010-08-16Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is ↵Günther Deschner1-9/+0
broken" This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
2010-08-14s4:torture/rpc/samr.c - fix a wrong torture error messageMatthias Dieter Wallnöfer1-1/+1
2010-08-11s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki1-1/+0
2010-08-11s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki1-1120/+0
2010-08-11s4-test: strip trailing white-spacesKamen Mazdrashki1-21/+21
2010-08-08s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is brokenStefan Metzmacher1-0/+9
See https://bugzilla.samba.org/show_bug.cgi?id=7486. metze
2010-08-05s3-torture: Improve the winreg deletekey torture comments.Andreas Schneider1-5/+6
2010-08-05s3-torture: Correctly cleanup the winreg volatile key test.Andreas Schneider1-8/+13
Günther please check!
2010-08-05s4-torture: Fixed the winreg EnumValue test against Windows.Andreas Schneider1-8/+34
Günther please check!
2010-08-02s4-smbtorture: remove another old and now invalid s3 special case during ↵Günther Deschner1-7/+0
spoolss testing. Guenther
2010-08-01s4:torture/rpc/winreg: fix "strict aliasing" compiler warningsStefan Metzmacher1-3/+3
metze
2010-08-01s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)Stefan Metzmacher1-4/+3
metze
2010-07-31s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate ↵Matthias Dieter Wallnöfer1-4/+4
casts
2010-07-31s4:torture/winreg.c - remove unreachable codeMatthias Dieter Wallnöfer1-2/+0
2010-07-31s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard ↵Matthias Dieter Wallnöfer1-0/+1
C-compatible It seems to be GCC specific since it doesn't compile on Solaris 10 cc: http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
2010-07-30s4-smbtorture: remove ifdefed symlink test, this is already skipped internallyGünther Deschner1-2/+0
in the s3 case. Guenther
2010-07-30Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."Günther Deschner1-4/+0
This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
2010-07-29s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki1-17/+49
It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
2010-07-29s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki1-4/+33
In case differences in messages are: 1. Attributes with different values, i.e. 'replace' 2. Those attributes are back-link attributes then we just warn about those differences. It turns out windows doesn't send all values for back-link attributes in replicated_object but in linked_attributes. I consider this as workaround for the problem. A better solution might be to merge linked_attribute values into replacted_objects before comparing those with LDB result (although this will work for Win2k8 and latter)
2010-07-29s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki1-79/+12
we have already opened. Added 'config_dn' and 'schema_dn' members which are to be used later for extending the test_FetchData() to be executed against every partition in case partition is not specified explicitly. DsSyncText.site_name was removed also as it is not used anymore
2010-07-27s4-torture: Enable tests with keynames including a slash.Andreas Schneider1-12/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."Andreas Schneider1-2/+2
This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s4-torture: Disable setting REG_BINARY printer data with size 0.Andreas Schneider1-0/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-19s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki1-2/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki1-3/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.Günther Deschner1-0/+3
Guenther
2010-07-16s4-smbtorture: rearrange testlist in RPC-BIND.Günther Deschner1-5/+23
Guenther
2010-07-16s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.Günther Deschner1-0/+1
Guenther
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell21-154/+154
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-14s4-smbtorture: add very simple RPC-BIND testsuite.Günther Deschner2-0/+97
Guenther
2010-07-14s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c.Günther Deschner1-0/+0
Guenther
2010-07-08Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."Günther Deschner1-6/+0
This reverts commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6.
2010-07-03s4:torture/rpc/samlogon.c - strip trailing whitespacesMatthias Dieter Wallnöfer1-199/+199
2010-07-03s4:torture/rpc/samlogon.c - provide a function which sets and afterwards ↵Matthias Dieter Wallnöfer1-0/+97
resets the minimum password age This is needed since we on s4 do now use the Windows Server standard of 1 day.
2010-07-02s4-smbtorture: enable extended SetValue test against Samba3.Günther Deschner1-3/+2
Guenther
2010-06-30s4-smbtorture: in extended setvalue winreg test, reduce max random buffer ↵Günther Deschner1-1/+1
length to 16 bytes. Guenther
2010-06-30s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.Günther Deschner1-3/+2
Guenther
2010-06-30s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.Günther Deschner1-1/+12
Guenther