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
Matthias Dieter Wallnöfer
eceffe6909
nbt: samlogon/netlogon structures - unify denominations
2010-04-27 18:45:41 +02:00
Matthias Dieter Wallnöfer
7efb436698
s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible
2010-04-27 18:45: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
c2c56722b5
s4-smbtorture: remove some typecasts in rap tests.
...
Guenther
2010-04-27 16:42:14 +02:00
Andrew Tridgell
91bb4893c4
s4-netlogon: fixed getDcNameEx2 for blank inputs
...
w2k8r2 returns the local DC information on no inputs for
getDcNameEx2. This is needed for starting dsa.msc (ADUC) on
Win7.
CDLAP on the same call returns an error. This uses a parameter
fill_on_blank_request to distinguish the two cases.
2010-04-28 00:19:30 +10:00
Andrew Tridgell
1cd4f50079
s4-torture: not all platforms have defines like AF_AX25
...
all we need are invalid values here, so just use fixd high values.
2010-04-27 22:56:44 +10:00
Matthias Dieter Wallnöfer
ca1f7c9b73
s4:torture - DsRGetDcSiteCoverageW - adapt test to check for the sitename
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:42 +10:00
Matthias Dieter Wallnöfer
a66bdbec86
s4:torture - DsRGetSiteName - move "skip" statement before the "computer_name" check
...
We don't support the check for the computer name on the RPC server side.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:42 +10:00
Matthias Dieter Wallnöfer
2780a18a9f
s4:torture - GetAnyDCName - adaptions
...
- Check for the various domainname set modes (on NULL and "" the domain should
be the default domain on the server)
- support return value "WERR_NO_SUCH_DOMAIN" (the server is the PDC of the
domain)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:41 +10:00
Matthias Dieter Wallnöfer
cf93634ec5
s4:torture - DsRAddressesToSitenames - enhance the testsuite
...
This shows the Windows behaviour of these two calls which we should match.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:41 +10:00
Günther Deschner
aae716d044
s4: fix some build warnings.
...
Guenther
2010-04-26 22:53:00 +02:00
Günther Deschner
1983d0dde7
s4: use generated rap header.
...
Guenther
2010-04-26 22:52:59 +02:00
Günther Deschner
1ede2a0577
s4: rename RAP share_enum_info to share_info.
...
Guenther
2010-04-26 22:52:45 +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
Andrew Tridgell
ec3d1de61d
s4-torture: fixed a initialiser
...
we were not initialising the whole array
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-22 19:36:16 +10:00
Andrew Tridgell
2edff9f5ff
s4-drs: accept zero revision in drs selftest
...
Kamen, please have a look at this. We need to accept revision zero as
w2k8r2 sends it during initial schema replication
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21 13:35:56 +10: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
Matthias Dieter Wallnöfer
39d612ff4c
s4:torture/rpc/netlogon.c - fix typo
2010-04-20 09:01:22 +02:00
Andrew Tridgell
211bf1ea17
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
...
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Stefan Metzmacher
279bf89fb3
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
e9d4f1578c
s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
51f7b1382b
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:06 +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
98464853f4
s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
2aba845816
s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
6f4218a4aa
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:05 +02:00