1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

1619 Commits

Author SHA1 Message Date
Günther Deschner
963efb5542 s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.
Guenther
2009-06-08 19:56:59 +02:00
Günther Deschner
9e4b510504 s4-smbtorture: exclude oem_information checking for s3 in RPC-SAMR.
Guenther
2009-06-08 10:45:11 +02:00
Günther Deschner
0845db66e0 s4-smbtorture: skip samr MultipleMember alias tests for 3 as well as we do already for s4.
Guenther
2009-06-07 00:54:57 +02:00
Günther Deschner
abbcd574db s4-smbtorture: fix comment in RPC-SAMR-LARGE-DC test.
Andrew, I think you wanted to print this instead.

Guenther
2009-06-04 21:18:14 +02:00
Andrew Bartlett
a12b8571fe s4:torture Cut the RPC-SAMR-LARGE-DC test down to size
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-04 18:12:59 +10:00
Björn Jacke
b3491df2f9 s3:torture: fix password timestamp checks on NetBSD
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-06-03 17:50:01 +02:00
Günther Deschner
12496ea5ab s4-smbtorture: remove trailing whitespace.
Guenther
2009-05-29 13:18:23 +02:00
Günther Deschner
059401e457 s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supporting
validation level 6.

Guenther
2009-05-29 13:17:53 +02:00
Andrew Bartlett
227553f904 Win2k3 don't allow creating of domain trust accounts over SAMR 2009-05-29 17:12:06 +10:00
Andrew Bartlett
b83f84c8c3 s4:torture Don't try to Close a Deleted handle 2009-05-29 17:02:19 +10:00
Andrew Bartlett
a2e72ac556 s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGES 2009-05-29 11:56:29 +10:00
Andrew Bartlett
a3f619f9d9 s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DC 2009-05-29 11:56:27 +10:00
Andrew Bartlett
98ff29291b s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSET 2009-05-29 11:56:27 +10:00
Andrew Bartlett
37e09f26dc s4:torture Make the RPC-SAMR-PWDLASTET more efficient
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-29 11:56:24 +10:00
Günther Deschner
eb5e8dc82e s4-smbtorture: add RPC-SAMR-LARGE-DC test.
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-25 13:56:54 +02:00
Günther Deschner
a75698bdf3 s4-smbtorture: rename test_EnumDomain{Users,Groups,Aliases} in RPC-SAMR.
Guenther
2009-05-25 13:56:54 +02:00
Günther Deschner
05e6ebb7f8 s4-smbtorture: re-work test_Create{User,Group,Alias} a little.
Guenther
2009-05-25 13:56:29 +02:00
Tim Prouty
d38e5d18a7 s4 torture: Fix typo 2009-05-18 18:31:46 -07:00
Günther Deschner
5186661023 s4-smbtorture: Fix build warning in RPC-SAMR tests.
Guenther
2009-05-19 02:05:25 +02:00
Günther Deschner
0a9049be87 s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.
This test demonstrates the independence of the lsa and samr accounts while
remove a samr users that still has privileges granted.

Guenther
2009-05-18 22:54:14 +02:00
Günther Deschner
675e52cde7 s4-smbtorture: split RPC-SAMR-ACCESSMASK into several tests.
Guenther
2009-05-13 15:19:40 +02:00
Günther Deschner
2abdfab613 s4-smbtorture: cosmetic cleanup for RPC-SAMR-ACCESSMASK.
Guenther
2009-05-13 15:19:40 +02:00
Günther Deschner
54d925a304 s4-smbtorture: skip SetMemberAttributesOfGroup in RPC-SAMR for s3 as well.
Guenther
2009-05-12 00:27:24 +02:00
Günther Deschner
59cb8fd58d s4-smbtorture: Skip secdesc set calls for non-user objects in RPC-SAMR for Samba3.
Note that they are skipped for all objects while testing Samba4.

Guenther
2009-05-12 00:27:23 +02:00
Günther Deschner
1fb9b65921 s4-smbtorture: Fix order of assert args in test_TestPrivateFunctionsDomain() in RPC-SAMR.
Guenther
2009-05-12 00:27:23 +02:00
Günther Deschner
ff7ebdf317 s4-smbtorture: switch to use torture_context in RPC-SAMR.
Guenther
2009-05-12 00:27:23 +02:00
Günther Deschner
0f88b3cc94 s4-smbtorture: remove trailing whitespace in RPC-SAMR.
Guenther
2009-05-12 00:27:23 +02:00
Günther Deschner
5f015920a8 s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.
Guenther
2009-05-11 16:44:39 +02:00
Günther Deschner
7347373e7c s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.
Guenther
2009-05-11 16:44:39 +02:00
Günther Deschner
7672a033ef s4-smbtorture: remove trailing whitespace in RPC-LSA test.
Guenther
2009-05-11 15:06:20 +02:00
Günther Deschner
410f17cdeb s4-smbtorture: use struct torture_context in RPC-LSA.
Guenther
2009-05-11 15:06:16 +02:00
Günther Deschner
a3873bca51 s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for Samba3.
With this, I think, we pass RPC-SAMR-USERS.

Guenther
2009-05-09 00:51:04 +02:00
Günther Deschner
4f3bfb6261 s4-smbtorture: skip unsupported ACB bits for Samba3 in RPC-SAMR-USER.
Guenther
2009-05-08 22:21:41 +02:00
Günther Deschner
67df4489e2 s4-smbtorture: Support timestamp handling for Samba3 in RPC-SAMR-USERS.
Timestamps in passdb (currently) only have second granularity.

Guenther
2009-05-08 22:14:50 +02:00
Günther Deschner
c2498d133d s4-smbtorture: Fix printf info-level mismatch in RPC-SAMR.
Guenther
2009-05-08 09:56:40 +02:00
Günther Deschner
310031274d s4-smbtorture: avoid acct_flags check at the end of RPC-SAMR-PASSWORDS for Samba3.
I don't get this, why would the account suddenly get ACB_PWNOTREQ ?

Guenther
2009-05-08 00:46:54 +02:00
Günther Deschner
41cb06fba7 s4-smbtorture: prepare for running RPC-SAMR-USERS against samba3.
In Samba 3 there are no pdb calls to store comments, codepages and countrycodes
(yet).

Guenther
2009-05-08 00:42:21 +02:00
Günther Deschner
2cdfd67cae s4-smbtorture: Avoid failing RPC-SCHANNEL when testing lsa_GetUserName behaviour against Samba 3.
Guenther
2009-05-07 13:05:13 +02:00
Stefan Metzmacher
a678144162 s4:RPC-ECHO: disable the timeout test as it can't work with our client library
We need proper ways to cancel requests in order to have that
test working against a correctly behaving server over ncacn_np.

metze
2009-04-25 06:09:04 +02:00
Günther Deschner
a263eaca49 s4-smbtorture: add test_ControlService() to RPC-SVCCTL.
Guenther
2009-04-24 13:37:07 +02:00
Günther Deschner
f926a4e390 s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.
Guenther
2009-04-24 13:36:47 +02:00
Günther Deschner
ae5dd1219a s4-smbtorture: change default service to spooler in RPC-SVCCTL.
Guenther
2009-04-24 13:35:51 +02:00
Andrew Bartlett
1a39007101 s4:torture Fix segfault in RPC-SAMSYNC
This code needs to be fixed to match Win2008 behavior, but at least it
does not segfault any more.

Andrew Bartlett
2009-04-24 09:35:24 +02:00
Andrew Bartlett
f579a2c666 s4:torture use common libcli/auth crypto code 2009-04-23 17:53:25 +02:00
Stefan Metzmacher
d0e6803218 s4:librpc/rpc: remove async argument from the sync dcerpc_request() function
metze
2009-04-20 18:15:00 +02:00
Stefan Metzmacher
e6b796b936 s4:torture/rpc: use dcerpc_ndr_request() for the object_uuid test
As we want sync calls...

metze
2009-04-20 18:14:59 +02:00
Andrew Bartlett
6c9caed481 Merge commit 'origin/master' into libcli-auth-merge-without-netlogond 2009-04-20 16:53:02 +02:00
Günther Deschner
5f0c9c57f5 s4-smbtorture: test all levels in test_GetJob().
Guenther
2009-04-20 00:59:36 +02:00
Günther Deschner
fe2828c353 s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.
Guenther
2009-04-17 17:27:42 +02:00
Günther Deschner
cb9c0cefaf s4-smbtorture: rework test_EnumPrinterDrivers() a little to succeed with s3.
Yes, I feel dirty for this but promise to come back and fix appropriately.

Guenther
2009-04-17 17:25:14 +02:00