summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25194: A major rework of the Samba4 LSA LookupNames and LookupSids code, withAndrew Bartlett1-35/+183
a new torture suite to match. This should fix bug #4954 by Matthias Wallnöfer <mwallnoefer@yahoo.de> Previously we had no knowlege of BUILTIN or well-known names. This code needs expansion to check with winbind for trusted domains. Andrew Bartlett (This used to be commit e6fc0e1f54ad64bdddc88e9ebd0d8d181b6ce26a)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison2-4/+4
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25073: Correct test name so make test can pass again.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit adcb3c864a5af5286cd7f7f6e2a3b904c7db9f42)
2007-10-10r25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can'tAndrew Bartlett1-0/+35
use this as a backend for the LSA LookupNames call. Andrew Bartlett (This used to be commit 9266e36633fc7465edb725f78d7ed02ce1b1aca2)
2007-10-10r25070: Revert DRSUAPI conversion to new API, as it broke some tests.Jelmer Vernooij3-323/+604
(This used to be commit cfb33df2d0eb36704d4702948a78102153663131)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij17-54/+54
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij18-2/+18
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24972: Try to rat out this SAMR failure with some more cross-tests, andAndrew Bartlett1-4/+17
format checks. Andrew Bartlett (This used to be commit 33deecbfc339c571cc043085f8aa87053dbd4c72)
2007-10-10r24971: Test more combinations for resetting the account expiry.Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 8844f4796c76c103ce4eaff477c615e74c655e68)
2007-10-10r24942: Patch from Matthias Wallnöfer <mwallnoefer@yahoo.de> and a testsuiteAndrew Bartlett1-0/+5
to prove it is correct. This should fix bug #4824: User Manager for Domains - Account Expires. Thanks! Andrew Bartlett (This used to be commit e5f0744d627ccfcc2e301fc38d139742f0ea5934)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij3-941/+872
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24900: - if we use try to create a 3rd dcerpc_pipe then use a 3rd variableStefan Metzmacher2-19/+20
instead of overwritting the one of the 2nd connection - make it possible to specify the expected ntstatus for DsRoleGetPrimaryDomainInformation as the alter_context wants it to fail when used on the wrong pipe metze (This used to be commit c7c72ab36b15c5ffac1740b7df93fa92fe4620e9)
2007-10-10r24895: Test for specific error.Jelmer Vernooij1-1/+2
(This used to be commit 00d6dc85f5473ba7b27ed79ea55c8a4fe4d4fac8)
2007-10-10r24892: Skip some tests that were previously being incorrectly treated as ↵Jelmer Vernooij1-38/+18
succeeding. (This used to be commit b5b8e879a1bbb5329458f05120619ea439904962)
2007-10-10r24890: Integrate more of the RPC-SECRETS tests.Jelmer Vernooij1-12/+46
(This used to be commit 84cc1d42ab201d4a8fb0ef06b85d79a3ed8bc1d4)
2007-10-10r24889: Move choosing the binding options into RPC-SECRETS.Jelmer Vernooij2-23/+51
(This used to be commit 24d322b746cf25010045515f9beff63e2b5cccd2)
2007-10-10r24888: Use torture API.Jelmer Vernooij1-74/+42
(This used to be commit 08b64b42d03d52e7e022aca0b72ce67c1bbbc19e)
2007-10-10r24885: Convert to new torture API.Jelmer Vernooij2-38/+13
(This used to be commit 2918a056787467186a491574da95ea38c9aea1ee)
2007-10-10r24884: Ignore some errors again, like they were previously.Jelmer Vernooij1-10/+26
(This used to be commit 120d8caa01ca69e2e3de43f5983a66ad413977b7)
2007-10-10r24872: Use torture API a bit moreJelmer Vernooij3-318/+133
(This used to be commit a71355dfc933d4273d81e7b05a28197ca86e0cc6)
2007-10-10r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.Jelmer Vernooij9-692/+409
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)
2007-10-10r24850: Convert to torture API.Jelmer Vernooij2-702/+439
(This used to be commit 6c7a004b9d95e443d07307bbe94f691cc4b03490)
2007-10-10r24849: Add helper function for running tests as a member server.Jelmer Vernooij1-22/+143
(This used to be commit 61b2f0a405ea70203ea982b9a151643f28b1da7e)
2007-10-10r24846: Use metadata about dangerous tests.Jelmer Vernooij4-38/+25
(This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)
2007-10-10r24844: Convert to torture API in preparation of helper functions for domain ↵Jelmer Vernooij1-184/+91
member RPC tests. (This used to be commit c2521453a902ea5fd4f894a21af711ac2b2cbd40)
2007-10-10r24835: Put all RPC tests in the list (skipping when necessary), warn if ↵Jelmer Vernooij4-160/+96
tests aren't there. (This used to be commit 1ff13ae254288afc56a3b19d00c7a20120eb4c74)
2007-10-10r24758: More use of torture API.Jelmer Vernooij1-11/+12
(This used to be commit e6f571227ed7428a98a7039a5eb777d3670572fa)
2007-10-10r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij8-83/+56
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10r24751: Run more tests, remove empty testsuites, more small improvements.Jelmer Vernooij15-450/+270
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
2007-10-10r24741: More use of the torture API.Jelmer Vernooij5-32/+35
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
2007-10-10r24736: Convert to using torture API.Jelmer Vernooij2-145/+197
(This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij26-194/+144
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij4-5/+5
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10r24676: Fix pointers being used rather than the data they point at - caught ↵Jelmer Vernooij1-3/+3
by the IRIX compiler. (This used to be commit 678b125532621e2b2823e92695326469f0e557ed)
2007-10-10r24674: Make sure results are always on a new line, fix typo in test name.Jelmer Vernooij1-0/+1
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij3-362/+254
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24611: Following up on the re-opening of bug 4817 is it pretty clear thatAndrew Bartlett1-57/+180
machine accounts are not subject to password policy in Win2k3 R2 (at least in terms of password quality). In testing this, I found that Win2k3 R2 has changed the way the old ChangePassword RPC call is handled - the 'cross-checks' between new LM and NT passwords are not required. Andrew Bartlett (This used to be commit 417ea885b41cc097a0bb3a10ffbffb31f234f25d)
2007-10-10r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher6-15/+16
and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-7/+7
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher37-98/+98
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher8-23/+23
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher4-7/+7
and move it into misc.idl The goal is to get rid a all dcerpc specific stuff in the generated ndr layer. metze (This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
2007-10-10r24146: It is not an error for a Win2k3-only server not to support the NT4Andrew Bartlett1-0/+3
replication call. Andrew Bartlett (This used to be commit 59cba32c09f5b014788e4fb0479ed31f26a3d7e2)
2007-10-10r24083: Don't fail the test (looking for the user in the enum) if we didn'tAndrew Bartlett1-3/+7
create the user in the first place. Andrew Bartlett (This used to be commit db0f81734d39b228dbfcf53b911edf83a2a2fd8c)
2007-10-10r24081: Domain Controllers are also shown in this enumeration.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3e332ff77120003da2a23df8e0d30a330847f0f1)
2007-10-10r24080: Set the primary group (matching windows) when creating new users inAndrew Bartlett1-4/+27
SAMR. This can't be done in the ldb templates code, as it doesn't happen over direct LDAP. As noted in bug #4829. Andrew Bartlett (This used to be commit 3bfa6dbf7ded06df78310f7bd39d8a8d4edbb4ef)
2007-10-10r24074: Test both permitted logon hours and permitted workstations in theAndrew Bartlett2-4/+72
RPC-SAMLOGON test. This showed that, as noted by bug #4823, we didn't test for invalid workstations. In fact, the code had been ported across, but because untested code is broken code, it never worked... Andrew Bartlett (This used to be commit 5e07417ada56d189a911ef888b0c87adebe60763)
2007-10-10r24059: Fix bug 4822 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>.Andrew Bartlett1-0/+10
Any SAMR client (usrmgr.exe in this case) that attempted to set a property to a zero length string found instead the the old value was kept. In fixing this, rework the macros to be cleaner (add the always-present .string) to every macro, and remove the use of the samdb_modify() and samdb_replace() wrappers where possible. Andrew Bartlett (This used to be commit b05fe693047c09b85c7fc0e1ea8d931c99910375)
2007-10-10r24053: Ensure we filter EnumDomainUsers with the supplied mask.Andrew Bartlett1-22/+80
Should fix another part (list of domains in usrmgr incorrectly including accounts) of bug #4815 by mwallnoefer@yahoo.de. Andrew Bartlett (This used to be commit 7f7e4fe2989ef4cb7ec0f855b25e558f3bbd18c5)
2007-10-10r24052: Fix some of the NT4 usrmgr.exe portions of bug 4815.Andrew Bartlett1-11/+195
- The icons in usermgr were incorrect, because the acct_flags were not filled in (due to missing attribute in ldb query) - The Full name was missing, and the description used as the full name (due to missing attributes in ldb query and incorrect IDL) To prove the correctness of these fixes, I added a substantial new test to RPC-SAMR-USERS, to ensure cross-consistancy between QueryDisplayInfo and QueryUserInfo on each user. This showed that for some reason, we must add ACB_NORMAL to the acct_flags on level 2 queries (for machine trust accounts)... Getting this right is important, because Samba3's RPC winbind methods uses these queries. Andrew Bartlett (This used to be commit 9475d94a61e36b3507e5fd2e6bb6f0667db4a607)