summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samr.c
AgeCommit message (Collapse)AuthorFilesLines
2010-01-27s4:torture: refactor setting account flags out into ↵Michael Adam1-50/+46
test_SetUserInfo_acct_flags() and use this in four places (enabling/disabling accounts). Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-20torture: add new test RPC-SAMR-PASSWORDS-LOCKOUTMichael Adam1-0/+451
This tests account lockout features. Windows 2003r2 and Windows 2008r2 survice this test. Note: Windows does not set the ACB_AUTOLOCK account flag when it locks out an account. One thing that could/should be added to this test is a check of the lockout time property. Michael
2010-01-15s4-smbtorture: add setup_schannel_netlogon_pipe() function.Günther Deschner1-34/+25
Guenther
2010-01-12s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.Günther Deschner1-4/+6
Guenther
2010-01-12s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.Günther Deschner1-2/+488
This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute in relation to password history and successfull and unsucessful netlogon samlogons. Michael, please check. This should help verifiying Bug #4347. Guenther
2010-01-12s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR ↵Günther Deschner1-34/+71
family of tests. Guenther
2009-12-17s4-smbtorture: skip GetAliasMembership against s4.Günther Deschner1-0/+4
It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not figure out why. Guenther
2009-12-17s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.Günther Deschner1-0/+47
Guenther
2009-11-26s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more.Günther Deschner1-25/+26
Guenther
2009-11-26s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics.Günther Deschner1-84/+111
Guenther
2009-11-10s4-smbtorture: strip trailing whitespace in RPC-SAMR.Günther Deschner1-2/+2
Guenther
2009-11-06s4:torture/samr - Add status code on "ValidatePassword" test outputMatthias Dieter Wallnöfer1-2/+2
2009-11-06s4:torture/samr - Activate "ValidatePassword" test per defaultMatthias Dieter Wallnöfer1-5/+2
2009-11-05s4:torture/rpc/samr - Add a comment for "ValidatePassword" testMatthias Dieter Wallnöfer1-0/+2
2009-10-20s4-torture: fixed a pipe leakAndrew Tridgell1-0/+2
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server
2009-10-19s4:test: Fix typo.Karolin Seeger1-1/+1
Karolin
2009-10-08s3/s4 - Adapt the IDL changes on various locationsMatthias Dieter Wallnöfer1-27/+27
2009-10-07torture: disable the ValidatePassword testAndrew Tridgell1-1/+5
This test causes problems on non-sealed connections against windows
2009-10-07s4-torture: removed an accidental commit of a local test hackAndrew Tridgell1-1/+0
Sorry about that ....
2009-10-02s4-torture: added a very simple samr ValidatePassword testAndrew Tridgell1-0/+32
2009-06-29s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.Günther Deschner1-205/+206
Guenther
2009-06-29s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.Günther Deschner1-7/+4
Guenther
2009-06-29s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.Günther Deschner1-3/+3
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC (ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST). Guenther
2009-06-24s4-smbtorture: more paranoid checks while testing group membership in RPC-SAMR.Günther Deschner1-1/+27
Guenther
2009-06-17s4-smbtorture: use torture_comment in RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner1-15/+15
Guenther
2009-06-08s4-smbtorture: when testing RPC-SAMR-LARGE-DC its fine to just close the ↵Günther Deschner1-13/+17
objects. Guenther
2009-06-08s4-smbtorture: add test_QueryDisplayInfo_level to RPC-SAMR-LARGE-DC.Günther Deschner1-6/+79
Guenther
2009-06-08s4-smbtorture: exclude oem_information checking for s3 in RPC-SAMR.Günther Deschner1-4/+10
Guenther
2009-06-07s4-smbtorture: skip samr MultipleMember alias tests for 3 as well as we do ↵Günther Deschner1-2/+3
already for s4. Guenther
2009-06-04s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.Günther Deschner1-3/+3
Andrew, I think you wanted to print this instead. Guenther
2009-06-04s4:torture Cut the RPC-SAMR-LARGE-DC test down to sizeAndrew Bartlett1-7/+16
This removes the validation of the estimated number of accounts, because MS-SAMR 3.1.5.5.1.1 makes clear the number returned cannot be relied apon. I've also converted a bit more of the test to use torture_assert(), and where that is impractical, to print error messages when things fail. Andrew Bartlett
2009-06-03s3:torture: fix password timestamp checks on NetBSDBjörn Jacke1-1/+1
The Open Group says: "The useconds argument [of usleep] must be less than 1,000,000." NetBSD takes this seriously. usleep of more than 999999 are effectless.
2009-05-29s4-smbtorture: remove trailing whitespace.Günther Deschner1-3/+3
Guenther
2009-05-29s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supportingGünther Deschner1-0/+4
validation level 6. Guenther
2009-05-29Win2k3 don't allow creating of domain trust accounts over SAMRAndrew Bartlett1-1/+1
2009-05-29s4:torture Don't try to Close a Deleted handleAndrew Bartlett1-2/+0
2009-05-29s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGESAndrew Bartlett1-2/+7
2009-05-29s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DCAndrew Bartlett1-11/+37
2009-05-29s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSETAndrew Bartlett1-1/+6
2009-05-29s4:torture Make the RPC-SAMR-PWDLASTET more efficientAndrew Bartlett1-49/+43
By using SamLogonEx we avoid setting up the credentials chain for each request. (Needs to be pushed further up the stack, to only connect to NETLOGON once). Andrew Bartlett
2009-05-25s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner1-1/+331
This rather simple test creates 4500 objects on a domain controller and checks the enum calls for the correct number of results. Guenther
2009-05-25s4-smbtorture: rename test_EnumDomain{Users,Groups,Aliases} in RPC-SAMR.Günther Deschner1-11/+12
Guenther
2009-05-25s4-smbtorture: re-work test_Create{User,Group,Alias} a little.Günther Deschner1-14/+38
Guenther
2009-05-18s4 torture: Fix typoTim Prouty1-1/+1
2009-05-19s4-smbtorture: Fix build warning in RPC-SAMR tests.Günther Deschner1-2/+2
Guenther
2009-05-18s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner1-9/+386
This test demonstrates the independence of the lsa and samr accounts while remove a samr users that still has privileges granted. Guenther
2009-05-12s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.Günther Deschner1-1/+2
Guenther
2009-05-12s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for ↵Günther Deschner1-8/+18
Samba3. Note that they are skipped for all objects while testing Samba4. Guenther
2009-05-12s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() ↵Günther Deschner1-1/+1
in RPC-SAMR. Guenther
2009-05-12s4-smbtorture: switch to use torture_context in RPC-SAMR.Günther Deschner1-103/+131
Guenther