summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samr.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-05-12s4-smbtorture: remove trailing whitespace in RPC-SAMR.Günther Deschner1-252/+252
Guenther
2009-05-09s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for ↵Günther Deschner1-1/+3
Samba3. With this, I think, we pass RPC-SAMR-USERS. Guenther
2009-05-08s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER.Günther Deschner1-4/+10
Guenther
2009-05-08s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS.Günther Deschner1-8/+23
Timestamps in passdb (currently) only have second granularity. Guenther
2009-05-08s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR.Günther Deschner1-1/+1
Guenther
2009-05-08s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for ↵Günther Deschner1-1/+4
Samba3. I don't get this, why would the account suddenly get ACB_PWNOTREQ ? Guenther
2009-05-08s4-smbtorture: prepare for running RPC-SAMR-USERS against samba3.Günther Deschner1-16/+24
In Samba 3 there are no pdb calls to store comments, codepages and countrycodes (yet). Guenther
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett1-1/+3
2009-04-17s4-smbtorture: disable CreateUser2 tests when running RPC-SAMR-PASSWORDS-PWDLASTGünther Deschner1-1/+3
against Samba3. Samba 3 does not (yet) get all the ACB_flag settings right upon creation. Guenther
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett1-4/+4
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
2009-01-06Fix compilation, remove unused variables.Jelmer Vernooij1-2/+1
2009-01-06s4-smbtorture: verify each password change via samlogon in ↵Günther Deschner1-31/+254
SAMR-PASSWORDS-PWDLASTSET test. Guenther
2008-12-23Fix more compiler warnings.Jelmer Vernooij1-1/+1
2008-12-10s4-samr: Fix Bug #5946. userparameters handling in torture test.Matthias Dieter Wallnöfer1-1/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2008-12-05s4-smbtorture: do full level 18, 21, 23, 24, 25, 26 testing in pwdlastset test.Günther Deschner1-75/+33
Guenther
2008-12-05s4-smbtorture: add support for level 18 and 21 in test_SetUserPass_level_ex.Günther Deschner1-20/+73
Guenther
2008-12-05s4-smbtorture: more tests for RPC-SAMR-PASSWORDS-PWDLASTSET.Günther Deschner1-108/+181
Guenther
2008-12-05s4-smbtorture: add test for setting passwords via samr_UserInfo21.Günther Deschner1-1/+134
Guenther
2008-12-05s4-smbtorture: add test for setting passwords via samr_UserInfo18.Günther Deschner1-0/+84
Guenther
2008-12-05s4-smbtorture: fix build of samr test (bad git merge).Günther Deschner1-20/+20
Guenther
2008-12-05s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.Günther Deschner1-10/+10
Guenther
2008-11-28s4-smbtorture: add some more testcases to pwdlastset test.Günther Deschner1-30/+118
Guenther
2008-11-28s4-smbtorture: fix RPC-SAMR-PASSWORDS-PWDLASTSET with samba3 option.Günther Deschner1-1/+0
Guenther
2008-11-28s4-smbtorture: allow to disable full testing of all possible opcode ↵Günther Deschner1-2/+19
combinations. Guenther
2008-11-28s4-smbtorture: move test to SAMR-PASSWORDS-PWDLASTSET.Günther Deschner1-5/+41
Guenther
2008-11-28s4-smbtorture: add test for samr password_expired flag while setting passwords.Günther Deschner1-1/+401
Guenther
2008-11-28s4-smbtorture: add test_SetUserPass_level_ex.Günther Deschner1-0/+131
Guenther
2008-11-28s4-smbtorture: add samr_rand_pass_silent.Günther Deschner1-1/+8
Guenther
2008-11-28s4-samr: fix samr passwdord_expired callers.Günther Deschner1-3/+2
Guenther
2008-11-10s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python)Günther Deschner1-41/+58
Guenther