Andreas Schneider
104c419345
s4-torture: Disable setting REG_BINARY printer data with size 0.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Günther Deschner
73fbc9c179
s4-smbtorture: remove duplicate torture_assert_sid_equal macro.
...
Guenther
2010-06-29 23:35:45 +02:00
Günther Deschner
7f8b3a26ec
s4-smbtorture: Fix test_SetPrinterDataEx_keys and test_SetPrinterDataEx_values.
...
We want to continue, not to skip here.
Guenther
2010-06-23 10:48:18 +02:00
Günther Deschner
1e897f6561
s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.
...
Guenther
2010-06-22 15:57:18 +02:00
Günther Deschner
13ede2bf7a
s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname tests.
...
Guenther
2010-06-22 15:57:12 +02:00
Günther Deschner
e439b6cb8c
s4-smbtorture: activate all keys in SetPrinterData keys test.
...
(just skip some of them still against s3).
Guenther
2010-06-22 15:57:06 +02:00
Günther Deschner
c31ffaf587
s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.
...
This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx
(and also speeds up the whole testsuite).
Guenther
2010-06-22 15:57:00 +02:00
Günther Deschner
29c0c103af
s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.
...
Guenther
2010-06-05 00:35:09 +02:00
Günther Deschner
bb4693d15e
s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.
...
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via
RPC-SPOOLSS-{addprinter,addprinterex}-testname.
Guenther
2010-06-04 14:24:24 +02:00
Günther Deschner
789125f9a4
s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.
...
Guenther
2010-06-04 14:24:05 +02:00
Günther Deschner
e65164ff48
s4-smbtorture: convert RPC-SPOOLSS into a torture suite.
...
Guenther
2010-06-03 18:31:23 +02:00
Günther Deschner
8131e9f290
s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.
...
Guenther
2010-06-03 14:54:49 +02:00
Günther Deschner
6acaa70d64
s4-smbtorture: add test_PrintProcessors_winreg.
...
This does cross reference checks between spoolss PrintProcessors and entries
stored in winreg.
Guenther
2010-06-03 13:01:40 +02:00
Günther Deschner
4a10635371
s4-smbtorture: refactor test_EnumPrintProcessors().
...
Guenther
2010-06-03 13:01:16 +02:00
Günther Deschner
3948876f66
s4-smbtorture: only test data up to a length of 9 bytes in test_SetPrinterDataEx_matrix().
...
Guenther
2010-06-03 11:46:44 +02:00
Günther Deschner
23eb2888d9
s4-smbtorture: skip driverName and printerName DsSpooler tests for now.
...
Guenther
2010-06-01 16:49:25 +02:00
Günther Deschner
582847412a
s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.
...
Printjobs are extremely fragile beasts on paused virtual printers within make
test. Very often the printq updater in the background is not fast enough, so
subsequent tests don't get to the updated information. Something to remember and
to work on later...
Guenther
2010-06-01 16:49:24 +02:00
Günther Deschner
7c6be166d0
s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
...
Guenther
2010-05-20 22:49:51 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Andreas Schneider
9c5a59b11e
s4-torture: Added the printername to the AddPrinter comment.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:16 +02:00
Andreas Schneider
f5e41c5cde
s4-torture: Fixed spoolss dsspooler printername test.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:38:05 +02:00
Günther Deschner
37e9019119
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
...
query some existing values.
Guenther
2010-04-28 17:06:17 +02:00
Günther Deschner
6cb21806e8
s4-smbtorture: add a test that adds a printer incl. devicemode.
...
Guenther
2010-04-28 17:06:17 +02:00
Günther Deschner
a53b09141c
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
...
Guenther
2010-04-28 15:11:41 +02:00
Günther Deschner
d6d8c3ffe3
s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
...
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
b87b1de834
s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
...
Guenther
2010-04-28 00:10:41 +02:00
Günther Deschner
2af449391b
s4-smbtorture: be more liberal when spoolss_SetJob fails.
...
For some reason, spoolss_SetJob pausing and resuming of printjob is still racy
on the buildfarm. Converting the fatal assert to a warning for now.
Guenther
2010-04-28 00:10:40 +02:00
Günther Deschner
158d41b6b4
s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
...
Guenther
2010-04-27 17:56:50 +02:00
Günther Deschner
a2b8e28aef
s4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.
...
Guenther
2010-04-27 16:42:16 +02:00
Günther Deschner
f44cec7b60
s4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.
...
Guenther
2010-04-27 16:42:16 +02:00
Günther Deschner
a0fd53e388
s4-smbtorture: mention architecture of added drivers in debug output.
...
Guenther
2010-04-27 16:42:16 +02:00
Günther Deschner
b40d2815cd
s4-smbtorture: make sure to not attempt to remove a driver file twice.
...
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
ad80131bb1
s4-smbtorture: setup all members of level 3,4,6,8 driver add.
...
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
fc3e959506
s4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS-PRINTER test.
...
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
12cf6dc8ee
s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.
...
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
b062cac6c4
s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.
...
Guenther
2010-04-27 16:42:15 +02:00
Günther Deschner
6beec1a04d
s4-smbtorture: skip tests when no local driver directory is around.
...
Guenther
2010-04-23 13:52:19 +02:00
Günther Deschner
ca0e5ea833
s4-smbtorture: use server_name for all printerdriver delete and enum operations.
...
With this s3 passes the RPC-PRINTER-DRIVER test.
Guenther
2010-04-23 11:41:25 +02:00
Günther Deschner
4be5d59c4f
s4-smbtorture: allow to upload or remove any file belonging to a driver.
...
Guenther
2010-04-23 11:41:24 +02:00
Günther Deschner
587921b7da
s4-smbtorture: fix test_EnumPrinterDrivers_findone().
...
Guenther
2010-04-23 03:03:59 +02:00
Günther Deschner
20133cfe56
s4-smbtorture: samba currently supports level 3 and 6 driver adds.
...
Guenther
2010-04-23 02:49:42 +02:00
Günther Deschner
f6bdfd9423
s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER.
...
Guenther
2010-04-23 02:16:59 +02:00
Günther Deschner
74592f47f5
s4-smbtorture: allow to upload and later remove printer driver files in RPC-SPOOLSS-DRIVER.
...
Guenther
2010-04-23 02:16:28 +02:00
Günther Deschner
29775e39b1
s4-smbtorture: add RPC-SPOOLSS-DRIVER test.
...
Guenther
2010-04-23 02:16:09 +02:00
Günther Deschner
431faed5f4
s4-smbtorture: rework EnumPrinterDrivers tests a bit.
...
Guenther
2010-04-23 02:15:13 +02:00
Günther Deschner
6bf4dbb955
s4-smbtorture: add spoolss DriverInfo and winreg consistency test.
...
Guenther
2010-04-20 20:02:53 +02:00
Günther Deschner
0833c9639e
s4-smbtorture: add function to get a printserver's environment.
...
Guenther
2010-04-20 19:29:12 +02:00
Günther Deschner
545ef2ca76
s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.
...
Guenther
2010-04-20 18:16:03 +02:00
Günther Deschner
e647b8c61f
s4-smbtorture: refactor test_GetPrinterDriver2().
...
Guenther
2010-04-20 17:01:48 +02:00
Günther Deschner
4f5298cbb4
s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.
...
Suprisingly, that value is always 0 (at least on w2k8r2).
Guenther
2010-04-20 14:34:55 +02:00
Stefan Metzmacher
c85884ecc8
s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
2010-04-14 20:27:11 +02:00
Stefan Metzmacher
4cff89a585
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
...
metze
2010-04-13 09:55:56 +02:00
Stefan Metzmacher
9ef235ed0a
s4:tortore/rpc/spoolss.c: fix declaration after code warning
...
metze
2010-04-12 16:18:11 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Günther Deschner
5eedaaea43
s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
...
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
bc2e675c3a
s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
...
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
48daa0b6ee
s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-04-09 16:17:54 +02:00
Günther Deschner
a21be5fc1b
s4-smbtorture: fix build after winreg IDL renames, sorry..
...
Guenther
2010-04-09 14:46:28 +02:00
Günther Deschner
1c4c4dd7e0
s4-smbtorture: protect against full UNC paths in winreg printerinfo test.
...
Guenther
2010-04-08 16:14:20 +02:00
Günther Deschner
16deed7199
s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.
...
This compares PrinterInfo2 with contents of
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername
Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
f87a18ec3b
s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.
...
Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
0ec6f297ee
s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
...
Guenther
2010-04-07 23:53:19 +02:00
Günther Deschner
345fcf5875
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:56:07 +02:00
Günther Deschner
f63c345bbd
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:41:13 +02:00
Günther Deschner
4712940e7c
s4-smbtorture: merge badname spoolss openprinter tests.
...
Guenther
2010-04-07 11:40:41 +02:00
Günther Deschner
8bb30ffcf6
s4-smbtorture: avoid passing down a full test_spoolss_context to directory
...
spoolss tests when not used.
Guenther
2010-04-07 11:40:31 +02:00
Günther Deschner
4d482d9c19
s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
...
Guenther
2010-04-06 21:13:19 +02:00
Günther Deschner
55e1af856e
s4-smbtorture: fix correct result error code in SetForm spoolss test.
...
Guenther
2010-04-06 12:13:54 +02:00
Günther Deschner
0909696261
s4-smbtorture: more JobInfo testing.
...
Guenther
2010-03-26 23:01:19 +01:00
Günther Deschner
f70e1b4d43
s4-smbtorture: fail spoolss test on SetJob failure.
...
Guenther
2010-03-26 14:36:47 +01:00
Günther Deschner
2e20cdaeeb
s4-smbtorture: activate job control tests against s3 in spoolss tests.
...
Spoolss job control commands work for cups in s3 now but not for other
backends. We need to investigate why.
Guenther
2010-03-25 11:04:52 +01:00
Günther Deschner
426cb9be1c
s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
...
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
6913c57b2f
s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.
...
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
27c50255f6
s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
...
Guenther
2010-03-25 00:50:30 +01:00
Günther Deschner
1bb8341871
s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.
...
Guenther
2010-03-25 00:50:18 +01:00
Günther Deschner
4ca2cc348e
s4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
...
during SetPrinterDataEx SPOOLSS test.
Guenther
2010-03-17 15:55:23 +01:00
Günther Deschner
481402bae5
s4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.
...
Guenther
2010-03-17 15:54:58 +01:00
Günther Deschner
c05a06187d
s4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.
...
Passes against windows but not against samba yet :-(
Guenther
2010-03-17 15:43:06 +01:00
Stefan Metzmacher
c1bf3244df
s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
28a6e5398d
s4:tortore/rpc/spoolss.c: fix compiler warning
...
metze
2010-03-16 15:35:30 +01:00
Günther Deschner
27d46ba266
s4-smbtorture: make it a bit easier to track failures in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-03-16 15:13:52 +01:00
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
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
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
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
Günther Deschner
e0d85f87b7
winreg: add winreg_KeyType enum.
...
Guenther
2010-03-11 20:23:47 +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
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
0a253e6b72
s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.
...
Guenther
2010-03-10 02:54:26 +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
48cdca0d47
s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
...
Guenther
2010-03-09 16:14:39 +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
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
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
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
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
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
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
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
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
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