summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23821: Extend the winreg test by a test for DeleteKey on aMichael Adam1-0/+66
key that has subkeys. This should return WERR_ACCESS_DENIED. Michael (This used to be commit 9b8789a4b5f444e643ed7ee3ff55dc0c41986d07)
2007-10-10r23816: A little more static, but leave the dead code testjoin.c as ↵Andrew Bartlett1-11/+3
documentation. Andrew Bartlett (This used to be commit 6679003c0553804333f0090a91e1fe53837ceb47)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell42-126/+84
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23687: not every compiler supports __typeof__()Stefan Metzmacher1-0/+5
metze (This used to be commit d0f77f7bd7520f4cd61c0d0199b917895ea85a1c)
2007-10-10r23643: Fix the build farm tests. We were incorrectly passing theJim McDonough1-5/+10
RPC-SAMBA3-GETUSERNAME tests before the previous password expiration fixes, because if you create a user and only set the password administratrively, the "last set time" should not get updated. Needed to add some more of the fields_present flags to do this. (This used to be commit ce5637de22c19551c0ce5147658ceae33b976ef1)
2007-10-10r23561: Fix an output message.Michael Adam1-1/+1
(This used to be commit bf1edba3f184cbddea70388058e16f044c2bea54)
2007-10-10r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.Günther Deschner1-1/+2
Guenther (This used to be commit 2fc02ab99283f77138e759726ea67ec6ce5e5283)
2007-10-10r23385: Adding netr_DsRGetForestTrustInformation() test to query transitive ↵Günther Deschner1-0/+52
forest trusts as well as our primary domain. Guenther (This used to be commit 7b19df13a4885fefc38cd73a9c46ee897ffa79ae)
2007-10-10r23383: Query transitive forest trust info in LSA torture test once we see ↵Günther Deschner1-0/+66
such trusts. Guenther (This used to be commit eaa17d5a8ff25ff96b3b6b71dab0effbeeb9b683)
2007-10-10r23381: Merge netr_GetDcName WERROR return and ↵Günther Deschner1-2/+2
WERROR_DOMAIN_CONTROLLER_NOT_FOUND from SAMBA_3_0. Guenther (This used to be commit 841ad140a34648ff52d5e44a6642f346ef9eee02)
2007-10-10r23365: Try to make Windows Vista join again. On my new test environment, itAndrew Bartlett1-2/+28
wants to check for an existing domain join account, and fails. This test shows that we need to return NT_STATUS_NONE_MAPPED when nothing matches. (not yet tested if this helps vista). Andrew Bartlett (This used to be commit 7f3671bf11cab36a5c795d7db86f85081b73bc71)
2007-10-10r23240: Fill in netr_DsrGetDcSiteCoverageW.Günther Deschner1-1/+25
Guenther (This used to be commit 9c2b9642336ed954c8f9fc0ccce95547d7c18aa8)
2007-10-10r23239: Fill in drsuapi_QuerySitesByCost.Günther Deschner1-1/+58
Guenther (This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)
2007-10-10r23231: Fix make test on build farm for 64-bit hosts. There's no reason ↵Jim McDonough1-0/+1
this should be any different for 64-bit hosts, but we probably are lucking out on other fields here as well. The "fields_present" field shouldn't just be copied from usrmgr traces, because it indicates which fields should be set, and in this case, we were setting the kickoff time (NOT the expired time) to some random date. (This used to be commit 69270178e5b5b069cc7bcd04d04cf8ec29512da2)
2007-10-10r23129: Merge from 3_0:Günther Deschner1-5/+5
* netr_DsRGetDCName_flags, netr_DsRGetDCNameInfo_AddressType and netr_DsR_DcFlags * the mask in netr_DsRGetDCNameEx2 turns out to be samr_AcctFlags Guenther (This used to be commit 9cdd6d9782a7a70f01d748228beb80c454d1468b)
2007-10-10r23090: a test showing two netlogon pipes open at once, using the LogonEx opsAndrew Tridgell2-0/+96
(This used to be commit 576dbdc8eece5c2fef743835c7cc255f02050ad3)
2007-10-10r22983: This should ensure that torture_create_testuser() can be called,Andrew Bartlett1-1/+1
without needing to change the user's password afterwoulds. (Accounts were being created with 'must change at next login' set). Andrew Bartlett (This used to be commit 7b94f2f6dbb7780fb12c8fad5e2ea6e07e72b24e)
2007-10-10r22969: fix some more places where we could end up with more than one eventAndrew Tridgell1-4/+4
context. We now have an event context on the torture_context, and we can also get one from the cli_credentials structure (This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher2-4/+4
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r22680: Fix a talloc ctx nameVolker Lendecke1-1/+1
(This used to be commit 3c46831f66136896b6b15c351442684ed20730d6)
2007-10-10r22580: remove not yet needed line...Stefan Metzmacher1-1/+0
metze (This used to be commit 57939600ee954c7510d8219200d3c759fbb69372)
2007-10-10r22579: disable progress printing in the build-farmStefan Metzmacher2-2/+5
metze (This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
2007-10-10r22538: same day late at night in au...:-)Stefan Metzmacher1-5/+4
fix the strcasecmp_m() returns 0 for a match also use the correct array element to fill priv->dcinfo the fixes the problems where ldb changes the order of the search results when changing the main dc netbios name from "localhost" to "localtest" metze (This used to be commit 25fffe385ea039ae19f25730cba6c7ea8684860b)
2007-10-10r22486: add a flag to ignore timeouts of a request and don't closeStefan Metzmacher1-2/+7
the connection on timeout metze (This used to be commit 6b23ab1fd265e2a92456701fb02bd1838c098874)
2007-10-10r22443: It isn't fatal to get the case wrong on this stuff.Andrew Bartlett1-4/+11
Andrew Bartlett (This used to be commit 55639277b2be2f249173f64d51ac87d176e53449)
2007-10-10r22396: remove unused varsStefan Metzmacher1-4/+0
metze (This used to be commit ff3ad7e5db64a27ec95475c40be094c7d69ae008)
2007-10-10r22339: Run some more tests.Jelmer Vernooij2-101/+99
(This used to be commit 1b73e6a776a3ef478718f656523d125d28589f5c)
2007-10-10r22201: crash fix...Stefan Metzmacher1-0/+4
metze (This used to be commit 60799d171fa12debe61164b467e55a9e08485e28)
2007-10-10r22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c codeStefan Metzmacher1-26/+19
to the new torture ui functions metze (This used to be commit 94a5f1568d8307e1cb55df7d73cfea9ce1037238)
2007-10-10r22194: fix compiler warning andStefan Metzmacher1-4/+9
compile in but disable NetShareAddSetDel test metze (This used to be commit 1091f00ce0d731568d7f2acbc6e43f87de90baa0)
2007-10-10r22193: fix compiler warning and formatingStefan Metzmacher1-8/+7
metze (This used to be commit b050fe9e0bf6100ef786ac38b192aaa26229d300)