Günther Deschner
4379b082b8
s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names.
...
Guenther
2010-03-16 10:43:57 +01:00
Andrew Bartlett
2de07761e0
s4:dsdb Change dsdb_get_schema() callers to use new talloc argument
...
This choses an appropriate talloc context to attach the schema too,
long enough lived to ensure it does not go away before the operation
compleates.
Andrew Bartlett
2010-03-16 19:26:03 +11:00
Erick Nogueira do Nascimento
2a04aa08c6
s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of DsGetReplInfo()
...
This torture testcase considers both cases for this infoType: when the flag
DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is enabled and when not.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-03-16 13:31:08 +11:00
Günther Deschner
83b9e12513
s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER.
...
Guenther
2010-03-15 18:35:19 +01:00
Günther Deschner
08ec9b7e73
s4-smbtorture: fill PrinterDriverData with more values for consistency test.
...
Guenther
2010-03-15 17:27:12 +01:00
Günther Deschner
1eb0fbe68d
s4-smbtorture: cleanup data after enumdata{ex} consistency test.
...
Guenther
2010-03-15 14:55:25 +01:00
Günther Deschner
06cbf05e8b
s4-smbtorture: when cross checking enumdata{ex} make sure to have at least one entry.
...
Guenther
2010-03-15 14:16:03 +01:00
Günther Deschner
6bfde084e6
s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.
...
Guenther
2010-03-15 14:16:03 +01:00
Günther Deschner
c3eb509dea
s4-smbtorture: fix torture_comment in RPC-SPOOLSS.
...
Guenther
2010-03-15 10:20:27 +01:00
Matthias Dieter Wallnöfer
508c218eb2
Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive)."
...
This reverts commit 40e2c04f8a
.
s4 should support now also the extended "SetValue" tests.
2010-03-14 18:46:23 +01:00
Stefan Metzmacher
b52b357ede
s4:torture/rpc/spoolss.c: fix compiler warnings
...
metze
2010-03-13 08:20:24 +01:00
Günther Deschner
8f07737714
s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.
...
Guenther
2010-03-13 02:26:59 +01:00
Günther Deschner
6833094d6b
s4-smbtorture: send even more random data in extended winreg SetValue test.
...
Guenther
2010-03-13 01:38:57 +01:00
Günther Deschner
33d9901ecb
s4-smbtorture: fix build and handle in spoolss test.
...
it's friday night...
Guenther
2010-03-13 01:34:31 +01:00
Günther Deschner
d39ece17e0
s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency test.
...
Guenther
2010-03-13 01:12:22 +01:00
Günther Deschner
ab33b991de
s4-smbtorture: refactor spoolss EnumPrinterData test.
...
Guenther
2010-03-13 01:12:21 +01:00
Günther Deschner
1d9d617d97
s4-smbtorture: refactor SetPrinterData() calls a little more.
...
Guenther
2010-03-13 01:12:21 +01:00
Günther Deschner
3de2f0475d
s4-smbtorture: re-arrange spoolss_SetPrinterData() tests.
...
Guenther
2010-03-13 01:12:21 +01:00
Günther Deschner
f064a182eb
s4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2).
...
Guenther
2010-03-13 01:12:21 +01:00
Stefan Metzmacher
0f210749a7
s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:53 +01:00
Stefan Metzmacher
81ac17d12d
s4:torture/rpc/echo.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:53 +01:00
Stefan Metzmacher
ff54cbe3d4
s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:48 +01:00
Günther Deschner
98ba174fa2
s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.
...
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly
crashes smbd (in preparation of fixing bug #7237 ).
Guenther
2010-03-11 23:25:04 +01:00
Günther Deschner
40e2c04f8a
s4-smbtorture: skip extended SetValue test against Samba (both dont survive).
...
Guenther
2010-03-11 20:48:05 +01:00
Günther Deschner
2324b07726
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
...
Guenther
2010-03-11 20:42:49 +01:00
Günther Deschner
e0d85f87b7
winreg: add winreg_KeyType enum.
...
Guenther
2010-03-11 20:23:47 +01:00
Günther Deschner
09ea04a7f8
s4-smbtorture: add extended SetValue test to RPC-WINREG.
...
Really looks like a blob based database frontend.
As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.
Guenther
2010-03-11 19:03:21 +01:00
Günther Deschner
3a8d85da68
s4-smbtorture: more work on test_key_value() RPC-WINREG test.
...
Guenther
2010-03-11 19:01:07 +01:00
Stefan Metzmacher
0d6c19b976
RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()
...
metze
2010-03-11 15:13:52 +01:00
Stefan Metzmacher
4398871d1f
RPC-DSSYNC: fix the build after idl changes
...
metze
2010-03-11 13:31:39 +01:00
Günther Deschner
3fd5ac6344
s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.
...
Guenther
2010-03-11 00:09:04 +01:00
Günther Deschner
01801f3f94
s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.
...
Guenther
2010-03-10 23:10:44 +01:00
Günther Deschner
25d27ff576
Revert "s4-smbtorture: disable winreg QueryValue test for today."
...
This reverts commit 420e3b8553
.
2010-03-10 22:04:02 +01:00
Kamen Mazdrashki
28cb274220
s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:04 +01:00
Kamen Mazdrashki
2483ed362b
s4/drs: DsCrackNames - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:02 +01:00
Kamen Mazdrashki
9f21787131
s4/drs: DsGetNCChanges - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:57 +01:00
Günther Deschner
52ca26a820
s4-smbtorture: do full winreg QueryValue test for values we created.
...
Guenther
2010-03-10 16:12:22 +01:00
Günther Deschner
420aac7538
s4-smbtorture: check for non existing value under version key in RPC-WINREG.
...
Guenther
2010-03-10 16:12:22 +01:00
Günther Deschner
420e3b8553
s4-smbtorture: disable winreg QueryValue test for today.
...
wow, both s3 and s4 crash on full coverage winreg QueryValue testing.
Guenther
2010-03-10 02:54:27 +01:00
Günther Deschner
0a253e6b72
s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.
...
Guenther
2010-03-10 02:54:26 +01:00
Günther Deschner
ae79d8ce02
s4-smbtorture: on HKLM hive test the well known CurrentVersion value.
...
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
722daf43d0
s4-smbtorture: add full coverage test for winreg QueryValue calls.
...
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
62b41e6842
s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.
...
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
6d10645bca
s4-smbtorture: add tests for set and delete value in RPC-WINREG.
...
Guenther
2010-03-10 00:46:23 +01:00
Matthias Dieter Wallnöfer
74166c380c
s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible against Windows Server 2008
...
This is a reworked version of the mentioned test which passes against Windows
Server 2008. The previous version, also mainly written by me passed only against
Windows Server <= 2003.
2010-03-09 17:19:04 +01:00
Günther Deschner
48cdca0d47
s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
...
Guenther
2010-03-09 16:14:39 +01:00
Kamen Mazdrashki
95f2226265
s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warnings
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-06 00:07:32 +01:00
Günther Deschner
58c9070746
s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.
...
Guenther
2010-03-05 20:35:50 +01:00
Günther Deschner
6cbb8fdc48
s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...
...
Guenther
2010-03-05 16:01:33 +01:00
Günther Deschner
d4db966c06
s4-smbtorture: when checking PrinterData matrix, include winreg cross reference checks.
...
Guenther
2010-03-05 15:19:50 +01:00
Günther Deschner
f385f4aeb0
s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.
...
Guenther
2010-03-05 15:18:30 +01:00
Günther Deschner
c5fb6551d9
s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.
...
Guenther
2010-03-05 15:18:17 +01:00
Günther Deschner
65f453ce71
s4-smbtorture: remove check for selfmade parsing artefact.
...
We were checking against a phenomenon that we created ourselves at the pidl
layer...
Guenther
2010-03-05 15:18:01 +01:00
Günther Deschner
f797ec9d81
s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.
...
Guenther
2010-03-05 15:18:00 +01:00
Günther Deschner
ca319bfff2
s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.
...
Guenther
2010-03-05 15:17:59 +01:00
Günther Deschner
b3765afd38
s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.
...
Guenther
2010-03-05 11:09:05 +01:00
Matthias Dieter Wallnöfer
12ae05939f
s4:torture/rpc/samr.c - add some decision possibility constants to some switch
...
At the moment nothing is done when the enumeration variable is set to one of
those constants as before. This is only to quite nasty warnings.
2010-03-05 08:55:47 +01:00
Matthias Dieter Wallnöfer
ce82f91614
s4:torture/rpc/samr.c - make some argument of function "test_SamLogon_with_creds" constant
...
This to quiet warnings.
2010-03-05 08:55:47 +01:00
Andrew Tridgell
2e1e446ba3
s4-torture: fixed commas separating C statements
2010-03-05 16:12:05 +11:00
Matthias Dieter Wallnöfer
a21b49bb38
s4:torture/rpc/samr - Fix up SAMR-USERS test
...
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal
ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
2010-03-03 17:45:58 +01:00
Matthias Dieter Wallnöfer
051eb0b575
s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding universal groups
...
Find the "Enterprise Admins" group which does exist on s4 and Windows
directories and is always per default universal. Test this only when the target
is set to s4 (s3 deployments don't contain this group). If the number of
returned objects is "0" (count) then we are likely testing the builtin domain of
an AD deployment.Then we ignore the inexistent "Enterprise Admins" group.
I didn't enhance the test for "QueryDomainInfo" since this does itself a
comparison of all returned objects with the "EnumDomainGroups" call. Therefore
if the latter passes, and the "QueryDomainInfo" test passes also the
"QueryDomainInfo" call is okay regarding groups.
2010-03-03 17:20:01 +01:00
Stefan Metzmacher
522e4f3d2b
s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async rpc over ncacn_np
...
metze
2010-03-01 18:45:21 +01:00
Stefan Metzmacher
719cecba84
s4:RPC-NETLOGON: remove useless rpc callback
...
If we got a failure from one request we bail out early.
metze
2010-03-01 16:11:58 +01:00
Stefan Metzmacher
22b1e0bf32
s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'
...
metze
2010-03-01 16:11:57 +01:00
Stefan Metzmacher
c84b4b23c8
s4:torture/rpc: make use of explicit dcerpc_*_recv functions
...
metze
2010-03-01 16:11:55 +01:00
Günther Deschner
1a64d3cbc6
s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.
...
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
4f6634e56d
s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.
...
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
74c7c1cc7f
s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.
...
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
e76b8a0700
s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.
...
Guenther
2010-03-01 15:22:29 +01:00
Stefan Metzmacher
9ada48ffdb
s4:torture/rpc: use generate_random_password()
...
metze
2010-02-26 08:57:29 +01:00
Stefan Metzmacher
525a1fe775
s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a name
...
metze
2010-02-26 13:22:12 +11:00
Stefan Metzmacher
3751485c84
s4:torture: use a connected CLDAP socket.
...
This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.
Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.
metze
2010-02-26 13:22:12 +11:00
Günther Deschner
8ee516eb9e
s4-smbtorture: define environment in one place in RPC-SPOOLSS test.
...
Guenther
2010-02-25 19:10:43 +01:00
Günther Deschner
d6cb1cc85f
s4-smbtorture: try to set every single devicemode component in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-25 13:13:57 +01:00
Günther Deschner
bbdd1412b2
s4-smbtorture: move ChangeID test to the list of tests we run against created printers.
...
Guenther
2010-02-25 13:13:33 +01:00
Kamen Mazdrashki
83007e06c1
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest2 changes in source code
2010-02-24 14:14:09 +02:00
Kamen Mazdrashki
30ac3caade
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code
2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
99db858b15
s4/drs: Propagate drsuapi_DsReplicaSync changes in source base
2010-02-24 14:14:07 +02:00
Kamen Mazdrashki
8747e695fe
s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source base
2010-02-24 14:14:07 +02:00
Günther Deschner
1b78573c2d
s4-smbtorture: verify that the client cpu architecture has no influence on the
...
calculated buffer size in RPC-SPOOLSS.
Guenther
2010-02-24 11:43:20 +01:00
Simo Sorce
1203de99b1
s4:schannel merge code with s3
...
After looking at the s4 side of the (s)channel :) I found out that it makes
more sense to simply make it use the tdb based code than redo the same changes
done to s3 to simplify the interface.
Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet
that does not solve the lookup speed, with ldb it is always going to be slower.
Looking through the history it is evident that the schannel database doesn't
really need greate expanadability. And lookups are always done with a single
Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated.
The schannel database is not really a persistent one. It can be discared during
an upgrade without causing any real issue. all it contains is temproary session
data.
2010-02-23 12:46:50 -05:00
Günther Deschner
ec0aa8a5c9
s4-smbtorture: more work on devicemode tests.
...
Guenther
2010-02-19 15:25:42 +01:00
Günther Deschner
0e95a6a09c
s4-smbtorture: explain failure conditions in printer device mode tests a little more.
...
Guenther
2010-02-19 14:27:31 +01:00
Günther Deschner
f2ecec3dcd
s4-smbtorture: add --option=torture:spoolss_check_size=yes.
...
This disables the size calculation comparison by default.
Guenther
2010-02-19 14:25:19 +01:00
Günther Deschner
299e5bc2ba
s4-smbtorture: print more comments while running SD and DM tests in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-19 14:24:18 +01:00
Günther Deschner
998a7b4e3f
s4-smbtorture: skip printer info cross tests against samba 3 for now.
...
Not even w2k8r2 passes them atm.
Guenther
2010-02-18 01:49:02 +01:00
Günther Deschner
97d36377d3
s4-smbtorture: try more combinations to find printers in test_EnumPrinters_findname().
...
Also take a note of servers returning full UNC printer paths although we did not
set the servername.
Guenther
2010-02-18 01:48:52 +01:00
Günther Deschner
a1ba72f84c
s4-smbtorture: simplify test_PrinterInfo_DevMode a bit.
...
Guenther
2010-02-18 01:48:45 +01:00
Günther Deschner
57847c2fee
s4-smbtorture: avoid potential loop while adding a new printer in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-18 01:48:36 +01:00
Anatoliy Atanasov
0e8fe821c9
s4/drs:kccdrs_replica_get_info_obj_metadata implementation
...
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
2010-02-17 18:03:31 +02:00
Günther Deschner
3a9dc490b4
s4-smbtorture: unify test list to run against single created printers in RPC-SPOOLSS-PRINTER.
...
This is to make sure we run the same tests for printers created via AddPrinter
and via AddPrinterEx.
Guenther
2010-02-17 11:29:37 +01:00
Günther Deschner
b32c1e2975
s4-smbtorture: also test level 2 sets for devicemodes and see if they persist.
...
Guenther
2010-02-17 11:29:37 +01:00
Günther Deschner
ff5bfb9708
s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-17 11:29:36 +01:00
Günther Deschner
020c8df281
s4-smbtorture: fix spoolss SD test against w2k8r2.
...
Guenther
2010-02-16 10:47:05 +01:00
Günther Deschner
41bb8767a2
s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-16 09:22:35 +01:00
Günther Deschner
1e59e5d8c9
s4-smbtorture: allow to call OpenPrinterEx with devicemode.
...
Guenther
2010-02-16 09:20:25 +01:00
Erick Nogueira do Nascimento
23d1dd5189
s4-drs: DsGetReplInfo() refactoring
2010-02-16 08:34:28 +11:00
Günther Deschner
bb05595b0a
s4-smbtorture: more work on SD tests for RPC-SPOOLSS.
...
Guenther
2010-02-15 22:17:01 +01:00
Günther Deschner
71cfcee6ba
s4-smbtorture: add rather simple spoolss device mode test.
...
Guenther
2010-02-15 22:16:25 +01:00
Günther Deschner
a6192d766f
s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests.
...
Guenther
2010-02-15 22:15:33 +01:00
Günther Deschner
cdf2f6b672
s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.
...
Guenther
2010-02-15 22:12:55 +01:00
Günther Deschner
72f250ac16
s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-15 11:08:16 +01:00
Günther Deschner
f8778ba8f4
s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-02-10 01:00:25 +01:00
Günther Deschner
aa72950b3d
s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
...
Guenther
2010-02-08 14:31:16 +01:00
Matt Kraai
d8071e7ed7
Change uint_t to unsigned int in source4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Günther Deschner
42f5125521
s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 21:00:00 +01:00
Günther Deschner
0c6aae4d53
s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 20:59:56 +01:00
Günther Deschner
377abba0e9
s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 20:49:53 +01:00
Günther Deschner
0e2d1cf9c4
s4-smbtorture: pick correct last packet while checking backchannel replies in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-27 15:04:00 +01:00
Michael Adam
098fc8c09c
s4:torture: refactor querying of domain info out into test_QueryDomainInfo2_level()
...
Used in several places.
(Note: The _level suffix in the function name is just because
test_QueryDomainInfo2() already exists as an overall test for all levels.)
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
0a33b20f70
s4:torture: create new test_SetDomainInfo_ntstatus()
...
for checking for SetDomainInfo giving a desired return code.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
c1d157a481
s4:torture: refactor setting of domain inf out into test_SetDomainInfo()
...
and use it in several places.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
50a46cff76
s4:torture: refactor setting account flags out into 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-27 11:24:42 +01:00
Günther Deschner
5dfec4f36b
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.
...
Guenther
2010-01-25 11:20:06 +01:00
Jelmer Vernooij
f679def4f2
s4: Fix a few warnings.
2010-01-21 16:15:11 +13:00
Michael Adam
9764db806f
torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT
...
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-20 17:32:58 +01:00
Günther Deschner
f8314c27b3
s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-19 17:17:29 +01:00
Günther Deschner
f5bba4034b
s4-smbtorture: support spoolss_ReplyClosePrinter server call in RPC-SPOOLSS-NOTIFY.
...
A handle obtained with spoolss_ReplyOpenPrinter will be closed with
spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side.
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
2b68215a22
s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
e0660ed1bc
s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3.
...
Guenther
2010-01-19 14:14:30 +01:00
Günther Deschner
7d1c1e0083
s4-smbtorture: strip trailing whitespace.
...
Guenther
2010-01-19 14:14:30 +01:00
Andrew Tridgell
f461a72ec3
idl: switched to using the WSPP names for the 'neighbour' DRS options
...
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Andrew Tridgell
4e0090c917
s4-torture: fixed DsReplicaGetInfo elements
2010-01-16 14:45:33 +11:00
Andrew Tridgell
93531a52f0
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
2010-01-16 14:10:44 +11:00
Erick Nogueira do Nascimento
48bdf3e608
s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-16 14:10:41 +11:00
Günther Deschner
9d881f4cfb
s4-smbtorture: add setup_schannel_netlogon_pipe() function.
...
Guenther
2010-01-15 00:53:16 +01:00
Andrew Tridgell
74a5719614
s4-torture: switch smbtorture to the generic DRS options
2010-01-14 15:37:59 +11:00
Günther Deschner
13dad38930
s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.
...
Guenther
2010-01-12 12:12:05 +01:00
Günther Deschner
a744dbcf2b
s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.
...
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-12 12:09:47 +01:00
Günther Deschner
c9e84ad397
s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR family of tests.
...
Guenther
2010-01-12 12:09:25 +01:00
Günther Deschner
3dbe8603d9
s4-smbtorture: add test_ChangeID to RPC-SPOOLSS.
...
This tests ChangeID consistency between spoolss_GetPrinterData,
spoolss_GetPrinterDataEx and spoolss_GetPrinter (level 0).
Guenther
2010-01-06 22:09:37 +01:00
Günther Deschner
7568f49134
s4-smbtorture: add test_SetPrinter to RPC-SPOOLSS.
...
Guenther
2010-01-06 22:09:36 +01:00
Günther Deschner
0457cf915b
s4-smbtorture: refactor test_GetPrinter in RPC-SPOOLSS.
...
Guenther
2010-01-06 22:09:36 +01:00
Günther Deschner
dc4c411242
s4-smbtorture: skip GetAliasMembership against s4.
...
It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not
figure out why.
Guenther
2009-12-17 18:05:36 +01:00
Günther Deschner
619ad0c6ec
s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.
...
Guenther
2009-12-17 15:40:42 +01:00
Günther Deschner
a9689bb755
s4-smbtorture: fix smbtorture after setprinter IDL fixes.
...
Guenther
2009-12-17 10:43:32 +01:00
Günther Deschner
308b50a7bb
s4-smbtorture: run GetPrinterDriver2 tests against each printer's driver.
...
Guenther
2009-12-16 01:13:43 +01:00
Volker Lendecke
4a19adadcc
smbtorture4: Add rpc-samba3-getaliasmembership-0
2009-12-15 12:28:16 -08:00
Günther Deschner
801fbd0569
s4-smbtorture: check whether a returned buffer size is a multiple of 4 in RPC-SPOOLSS.
...
This gives a good indication where our IDL (and the s3 spoolss implementation) is still wrong.
Guenther
2009-12-14 10:37:41 +01:00
Günther Deschner
ce33967f4a
s4-smbtorture: fix and extend enum printerkey test.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
d2f13dd688
s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.
...
This demonstrates that s3 still does not have that call implemented correctly.
Guenther
2009-12-09 15:34:45 +01:00
Günther Deschner
5e8e5dfe88
s4-smbtorture: make level 8 the reference for PrinterDriverEnum test.
...
Guenther
2009-12-08 11:51:09 +01:00
Günther Deschner
35c067782b
s4-smbtorture: fill in COMPARE_STRING_ARRAY macro in spoolss driver test.
...
Guenther
2009-12-08 10:37:13 +01:00
Günther Deschner
8de6f7178c
s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass at the moment.
...
Guenther
2009-12-07 14:42:13 +01:00
Günther Deschner
123d8d1c2c
s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change.
...
Guenther
2009-12-07 14:42:13 +01:00
Günther Deschner
02fe863039
s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.
...
Including new tests for:
- spoolss_SetPrinterDataEx
- spoolss_DeletePrinterDataEx
- spoolss_DeletePrinterKey
Guenther
2009-12-04 12:55:52 +01:00
Günther Deschner
2f0548fd98
s4-smbtorture: check more WERRORs in RPC-SPOOLSS.
...
Guenther
2009-12-03 23:48:59 +01:00
Günther Deschner
4e20a6f83b
s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS.
...
Guenther
2009-12-03 22:16:24 +01:00
Günther Deschner
450211b610
s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.
...
Guenther
2009-12-03 01:04:02 +01:00
Günther Deschner
5f60855ba2
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
...
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.
Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
8f6df5d3ec
s4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS.
...
Guenther
2009-11-27 23:16:21 +01:00
Günther Deschner
60419a0eb7
s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more.
...
Guenther
2009-11-26 01:45:35 +01:00
Günther Deschner
d22eb75a13
s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics.
...
Guenther
2009-11-26 01:45:35 +01:00
Kamen Mazdrashki
65e95b8aa9
s4/drs(tort): DSSYNC test to print what is different in drs_msg also
2009-11-23 14:15:05 +01:00
Günther Deschner
0608d6b125
s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.
...
Guenther
2009-11-23 13:35:32 +01:00
Günther Deschner
d66b7d80d5
s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.
...
Guenther
2009-11-23 12:17:54 +01:00
Matthias Dieter Wallnöfer
28423114ec
s4:torture/rpc/netlogon - Fix uninitialised variable
2009-11-21 17:37:39 +01:00
Kamen Mazdrashki
b9e262c512
s4/drs(tort): Convert DSSYNC test to a test case fixture
...
Now it should be much more clear why and where a test
in DSSYNC test case has failed.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:47:16 +11:00
Kamen Mazdrashki
442cded430
s4/drs(tort): replace DEBUG with torture_asert/comment/fail
...
I left dumping of decrypted attributes values 'as is'
(using DEBUG and DEBUGADD) as it uses dump_data() function.
dump_data() uses DEBUGADD internally, so I have no way
to redirect its output to torture_context at this point.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:47:05 +11:00
Kamen Mazdrashki
aaff29f5b4
s4/drs(tort): use torture_drsuapi_assert_call() macro for error checking
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:59 +11:00
Kamen Mazdrashki
673049142b
s4/drs(tort): replace 'printf' with 'torture_...' calls
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:48 +11:00
Kamen Mazdrashki
9e4beef614
s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system call
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:42 +11:00
Kamen Mazdrashki
b0de573629
s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:28 +11:00
Andrew Bartlett
b13518e4e8
s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test
2009-11-17 10:38:09 +11:00
Andrew Bartlett
95a12cdf21
s4:torture Use (some) torture_assert() calls in RPC-DSSYNC test
2009-11-12 16:34:23 +11:00
Andrew Bartlett
06b234e811
s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC
...
I'm satisfied that the task this test does is already done by the time
we map the incoming schema, and process the objects. If we have the
OID mapping wrong or incomplete, we will get any errors this test
found errors there.
(And this dramaticly reduces the test time, so we can now add
RPC-DSSYNC to 'make test').
Andrew Bartlett
2009-11-12 16:34:18 +11:00
Andrew Bartlett
6d1e60987b
s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNC
...
This is done by comparing the values against the remote host's LDAP
server.
Andrew Bartlett
2009-11-12 16:34:17 +11:00
Andrew Bartlett
87e984f0bd
s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAP
...
(This should make it easier to do more 'compare DRS with LDAP'
operations, as LDB is an easier interface to program.)
Andrew Bartlett
2009-11-12 16:34:13 +11:00
Andrew Bartlett
fd5174e88c
lib/util Split data_blob_hex_string() into upper and lower
...
Rather than have a repeat of the bugs we found at the plugfest where
hexidecimal strings must be in upper or lower case in particular
places, ensure that each caller chooses which case they want.
This reverts most of the callers back to upper case, as things were
before tridge's patch. The critical call in the extended DN code is
of course handled in lower case.
Andrew Bartlett
2009-11-12 16:34:01 +11:00
Günther Deschner
9599d142c0
s4-smbtorture: strip trailing whitespace in RPC-SAMR.
...
Guenther
2009-11-10 13:08:28 +01:00
Günther Deschner
e9c6984cb6
s4-smbtorture: re-arrange netlogon LogonControl test.
...
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that
tests the behaviour of that call when called by user, dc or workstation.
Guenther
2009-11-09 17:36:53 +01:00
Matthias Dieter Wallnöfer
17d6506c9e
s4:torture/samr - Add status code on "ValidatePassword" test output
2009-11-06 15:19:39 +01:00
Matthias Dieter Wallnöfer
9f481664fb
s4:torture/samr - Activate "ValidatePassword" test per default
2009-11-06 15:19:39 +01:00
Matthias Dieter Wallnöfer
1685ee3ee7
s4:torture/rpc/samr - Add a comment for "ValidatePassword" test
2009-11-05 12:43:03 +01:00
Günther Deschner
a8de4f091e
s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.
...
These are only supported by s3 when running pdb_ads atm.
Guenther
2009-11-03 22:18:09 +01:00
Günther Deschner
58d401bb21
s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.
...
This is only supported by s3 when running pdb_ads atm.
Guenther
2009-11-03 22:17:05 +01:00
Günther Deschner
bff9819521
s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.
...
Guenther
2009-11-03 22:13:28 +01:00
Günther Deschner
074ad24653
s4-smbtorture: simplify some torture_comments in RPC-LSA.
...
Guenther
2009-11-03 22:10:31 +01:00
Günther Deschner
3587bb63e2
s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.
...
Guenther
2009-10-30 12:28:49 +01:00
Günther Deschner
5e8c86c558
s4-smbtorture: fix warning in RPC-WKSSVC torture test.
...
Guenther
2009-10-30 12:28:47 +01:00
Andrew Tridgell
4ad0397d8a
s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()
...
This allows us to reuse a ldb context if it is open twice, instead
of going through the expensive process of a full ldb open. We can
reuse it if all of the parameters are the same.
The change relies on callers using talloc_unlink() or free of a parent
to close a ldb context.
2009-10-23 14:52:17 +11:00
Günther Deschner
48520b2274
s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up a client.
...
Guenther
2009-10-21 03:13:24 +02:00
Günther Deschner
a4d5487576
s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.
...
Make sure to split out lsa_LookupName NULL name test so that we can better track
results from bogus names and NULL names.
Guenther
2009-10-20 23:57:58 +02:00
Günther Deschner
9ee5d84665
s4-smbtorture: Make it simpler to specify number of trusted domains to create in
...
RPC-LSA-TRUSTED-DOMAINS.
Guenther
2009-10-20 21:49:38 +02:00
Günther Deschner
7e180101d3
s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.
...
Guenther
2009-10-20 15:30:19 +02:00
Günther Deschner
bf2746b537
s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-10-20 15:30:12 +02:00
Günther Deschner
d76e77ce9a
s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.
...
Guenther
2009-10-20 15:28:30 +02:00
Günther Deschner
80b512fe03
s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.
...
Guenther
2009-10-20 15:28:30 +02:00
Andrew Tridgell
2c34112e58
s4-torture: fixed a pipe leak
...
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an
overallocation of fd's on the server
2009-10-20 16:34:42 +11:00
Andrew Tridgell
84d0047377
s4-torture: ran minimal_includes.pl over source4/torture
...
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Andrew Tridgell
2ff2c421d0
s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS test
...
This test left a large number of lsa pipes open, which could trigger
the server running out of fds
2009-10-20 14:27:57 +11:00
Karolin Seeger
b7b548411c
s4:test: Fix typo.
...
Karolin
2009-10-19 10:40:15 +02:00
Karolin Seeger
fa08d0b44b
Fix typo.
...
privilage -> privilege
Karolin
2009-10-19 09:47:33 +02:00
Günther Deschner
22276961c3
s4-smbtorture: extend netr_LogonControl test in RPC-NETLOGON.
...
Guenther
2009-10-16 14:54:58 +02:00
Kamen Mazdrashki
1d3342e9fa
s4/drs(tort): _drs_util_verify_attids() to verify ATTIDs in objects received
2009-10-16 12:54:14 +03:00
Kamen Mazdrashki
8631548f12
s4/drs(tort): _drs_ldap_attr_by_oid() implementation
...
Utility function to be used to fetch Attribute name and DN
giving attribute OID
2009-10-16 12:54:14 +03:00
Matthias Dieter Wallnöfer
e9686985cb
s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed
...
For KERBEROS applications the realm should be upcase (function "lp_realm") but
for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch
implements the use of both in the right way.
2009-10-14 10:50:43 +02:00
Matthias Dieter Wallnöfer
607ceff234
s3/s4 - Adapt the IDL changes on various locations
2009-10-08 09:50:19 +02:00
Andrew Tridgell
8dedceaff9
torture: disable the ValidatePassword test
...
This test causes problems on non-sealed connections against windows
2009-10-07 10:55:35 +11:00
Andrew Tridgell
d31fa07fde
s4-torture: removed an accidental commit of a local test hack
...
Sorry about that ....
2009-10-07 10:05:26 +11:00
Matthias Dieter Wallnöfer
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
Andrew Tridgell
7bdb4306b0
s4-torture: added a very simple samr ValidatePassword test
2009-10-02 16:03:02 +10:00
Kamen Mazdrashki
98245727c9
s4-tort-drs: Add bind_info for dcerpc_drsuapi_DsBind() call
...
After this patch DsGetNCChanges() test works fine.
bind_info returned by server is also cached for future use
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:23 +03:00
Kamen Mazdrashki
d60e3ac8d3
s4-tort-drs: DsReplicaUpdateRefs test fixed and extended
...
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:22 +03:00
Kamen Mazdrashki
b49249864a
s4-tort: Added assertion macro for DRSUAPI call
...
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:22 +03:00
Andrew Tridgell
430ee62e0c
s4-torture: add some debug info to RPC-HANDLES
2009-09-22 17:10:05 -07:00
Stefan Metzmacher
f0704f5abc
s4:torture: the spoolss notify test should listen on the ncacn_np endpoint
...
metze
2009-09-18 20:34:43 +02:00
Stefan Metzmacher
3207188287
s4:torture: don't use 'pipe' as variable name it's a system call
...
metze
2009-09-18 20:34:39 +02:00
Günther Deschner
1d4bf02993
lsa: fill in more unknowns in lsa_LookupSid calls.
...
Guenther
2009-09-11 13:59:56 +02:00
Kamen Mazdrashki
bb6fda8a9a
s4/tort: RPC-DRSUAPI test case refactored to match torture architecture
2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
b24203fcb8
s4/tort: code clean up using torture_drsuapi_assert_call() macro
...
After this change, when a test fails, it gives
reasonable failure message.
2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
5088caa69e
s4/tort: assert macro for drsuapi dcerpc call
...
The macro actually wraps common code pattern used in
almost every test for DRSUAPI interface
2009-09-11 11:53:17 +10:00
Kamen Mazdrashki
a03e0c478d
s4/tort: Propagate torture_context and use torture_comment
...
NOTE: Not every place where printf is used is replaced by
torture_comment. Future work shall "missed" printfs also.
2009-09-11 11:53:17 +10:00
Kamen Mazdrashki
0c8eee9711
s4/tort: CRACKNAMES tests to use private structure for testing.
...
DsCrackNamesPrivate structure basically inherits DsPrivate
structure while adding few test-specific members.
2009-09-11 07:29:56 +10:00
Kamen Mazdrashki
bebeb4ff70
s4/tort: Make common setup/teardown drsuapi test funcs really common
2009-09-11 07:29:56 +10:00
Kamen Mazdrashki
ebfc13b452
s4/tort: CrackNames test update to work against W2K3.
...
DRSUAPI_DS_NAME_FORMAT_UKNOWN added to 'known-to-fail'
responses as this actually means to ask AD to resolve
a name from FQDN format to Unknown format.
2009-09-11 07:29:55 +10:00
Andrew Tridgell
27beb7fc7e
s4/torture: fixed lots of crash bugs in the DRS tests
2009-09-10 22:59:15 +10:00
Kamen Mazdrashki
2904034410
tort: RPC-CRACKNAMES test case refactored
2009-09-08 22:44:50 +10:00
Kamen Mazdrashki
899fc0ddde
tort: DsCrackNames - propagate torture context to all tests.
2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
d078d2efe8
tort: Helper function to get DC info for testing
2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
5e3759d122
tort: Implement 'setup' and 'teardown' for DRSUAPI test cases.
2009-09-08 22:44:48 +10:00
Matthias Dieter Wallnöfer
65541baf4b
s4:torture - Fix uninitialized variable
2009-09-06 12:31:37 +02:00
Günther Deschner
9bf74d0ed9
s4-smbtorture: test netr_ServerSetPassword2 against Samba3.
...
Guenther
2009-09-02 10:47:36 +02:00
Günther Deschner
3f0c8772f1
s4-smbtorture: do not hard code BDC secure channel type into RPC-NETLOGON tests.
...
Guenther
2009-08-27 13:41:50 +02:00
Günther Deschner
d368c73f95
s4-smbtorture: add test_SetPassword_flags to RPC-NETLOGON-S3 testsuite.
...
Guenther
2009-08-27 13:41:02 +02:00
Günther Deschner
46184692ad
s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.
...
Guenther
2009-08-26 23:04:18 +02:00
Andrew Bartlett
f050c500f1
s4:torture Make RPC-NETLOGON pass against ncaclrpc servers
...
The original patch didn't cope with a NULL target server name - we now key off that to decide it isn't worth checking against LDAP for this host.
I still can't get this to pass against Windows 2008, but mdw was
testing against Windows 2008R2. at least 'make test' is happy, and
the rest should not be too hard...
Andrew Bartlett
2009-08-04 18:24:37 +10:00
Matthias Dieter Wallnöfer
64b4d02032
s4: Change constant to comply with the merged build
2009-08-03 14:23:23 +02:00
Matthias Dieter Wallnöfer
720b7ea0ee
s4: Torture test for enhancements in "netr_LogonGetDomainInformations" call
...
This corrects and enhances the torture test of the mentioned call.
2009-08-03 09:46:30 +02:00
Stefan Metzmacher
1436256613
frsapi.idl: fix some unknown field names
...
metze
2009-07-21 19:11:21 +02:00
Jelmer Vernooij
de2a9fb607
Remove unused variable.
2009-07-19 17:17:23 +02:00
Günther Deschner
2e77debc99
Revert "fix LSA-PRIVILEGES"
...
This reverts commit 0d9fdbceed
.
2009-07-17 00:13:54 +02:00
Günther Deschner
106d43a1dd
Revert "fix LSA-TRUSTED-DOMAINS"
...
This reverts commit 3c9b262760
.
2009-07-17 00:13:46 +02:00
Günther Deschner
8d68d04258
s4-smbtorture: use secinfo flags instead of numbers in lsa test.
...
Guenther
2009-07-17 00:13:40 +02:00
Günther Deschner
8cac8fd5d6
s4-smbtorture: use torture_comment in RPC-LSA tests.
...
Guenther
2009-07-16 11:13:26 +02:00
Günther Deschner
0d9fdbceed
fix LSA-PRIVILEGES
2009-07-16 11:07:14 +02:00
Günther Deschner
3c9b262760
fix LSA-TRUSTED-DOMAINS
2009-07-16 11:07:06 +02:00
Günther Deschner
47eb061b53
s4-smbtorture: move all privilege tests to RPC-LSA-PRIVILEGES.
...
Guenther
2009-07-16 10:03:12 +02:00
Günther Deschner
29c3a277e1
s4-smbtorture: move all trusted domain tests to RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-07-16 10:03:12 +02:00
Günther Deschner
c3f461c35f
s4-smbtorture: some work on getprinterdriver and getprinterdriver2 tests.
...
Guenther
2009-07-16 03:05:44 +02:00
Günther Deschner
b6fb8cf5f3
s4-smbtorture: add RPC-SPOOLSS-PRINTER test.
...
Guenther
2009-07-14 23:03:58 +02:00
Günther Deschner
3a367ab10d
s4-smbtorture: add some tests to check spoolss_SetPrinter behavior.
...
Guenther
2009-07-14 22:59:45 +02:00
Günther Deschner
b0cce950ba
s4-smbtorture: restructure test_OpenPrinter_server in RPC-SPOOLSS a bit.
...
Guenther
2009-07-14 22:58:55 +02:00
Günther Deschner
f729abaa94
s4-smbtorture: fix getjob test in RPC-SPOOLSS.
...
Guenther
2009-07-02 22:00:41 +02:00
Günther Deschner
e7d72b585a
s4-smbtorture: Test for newly added form with enum call in RPC-SPOOLSS.
...
Guenther
2009-06-30 13:34:41 +02:00
Günther Deschner
66780e016b
s4-smbtorture: remove trailing whitespace from RPC-SPOOLSS.
...
Guenther
2009-06-30 11:38:41 +02:00
Günther Deschner
0b2b9fdeda
s4-smbtorture: use torture_comment & torture_warning in RPC samr tests.
...
Guenther
2009-06-29 23:47:47 +02:00
Günther Deschner
772d5dea30
s4-smbtorture: correctly test comment behaviour in RPC-SAMR-USERS against s3.
...
Guenther
2009-06-29 22:36:12 +02:00
Günther Deschner
50bb4bcc5b
s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.
...
This test talks to a DC as a joined workstation member - in the same way
winbindd does, in particular the calls used in this test's query pattern
will all request for SEC_FLAG_MAXIMUM_ALLOWED access_mask
(which pretty much all of samba's client code does as well).
In fact this test verifies that winbind can correctly talk to a samba dc using
samr dcerpc calls.
Guenther
2009-06-29 14:40:08 +02:00
Günther Deschner
ec5c83c0db
s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.
...
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-29 12:43:32 +02:00