summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2010-04-23s4-smbtorture: use server_name for all printerdriver delete and enum operations.Günther Deschner1-12/+16
With this s3 passes the RPC-PRINTER-DRIVER test. Guenther
2010-04-23s4-smbtorture: allow to upload or remove any file belonging to a driver.Günther Deschner1-0/+30
Guenther
2010-04-23s4-smbtorture: fix test_EnumPrinterDrivers_findone().Günther Deschner1-8/+8
Guenther
2010-04-23s4-smbtorture: samba currently supports level 3 and 6 driver adds.Günther Deschner1-0/+25
Guenther
2010-04-23s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER.Günther Deschner1-61/+71
Guenther
2010-04-23s4-smbtorture: allow to upload and later remove printer driver files in ↵Günther Deschner1-0/+230
RPC-SPOOLSS-DRIVER. Guenther
2010-04-23s4-smbtorture: add RPC-SPOOLSS-DRIVER test.Günther Deschner2-0/+752
Guenther
2010-04-23s4-smbtorture: rework EnumPrinterDrivers tests a bit.Günther Deschner1-68/+119
Guenther
2010-04-20s4-smbtorture: add spoolss DriverInfo and winreg consistency test.Günther Deschner1-7/+238
Guenther
2010-04-20s4-smbtorture: add function to get a printserver's environment.Günther Deschner1-0/+22
Guenther
2010-04-20s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.Günther Deschner1-22/+22
Guenther
2010-04-20s4-smbtorture: refactor test_GetPrinterDriver2().Günther Deschner1-36/+64
Guenther
2010-04-20s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.Günther Deschner1-0/+71
Suprisingly, that value is always 0 (at least on w2k8r2). Guenther
2010-04-20s4:torture/rpc/netlogon.c - fix typoMatthias Dieter Wallnöfer1-1/+1
2010-04-15s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher1-9/+9
p->last_fault_code metze
2010-04-15s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE ↵Stefan Metzmacher1-1/+1
instead of DCERPC_FAULT_INVALID_TAG metze
2010-04-15s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher1-6/+2
p->last_fault_code metze
2010-04-15s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of ↵Stefan Metzmacher1-6/+4
p->last_fault_code metze
2010-04-15s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead ↵Stefan Metzmacher1-2/+1
of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE ↵Stefan Metzmacher1-1/+1
instead of DCERPC_FAULT_INVALID_TAG metze
2010-04-15s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher1-7/+1
instead of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead ↵Stefan Metzmacher1-3/+1
of DCERPC_NCA_S_PROTO_ERROR metze
2010-04-15s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE ↵Stefan Metzmacher1-6/+2
instead of DCERPC_FAULT_OP_RNG_ERROR metze
2010-04-15s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA ↵Stefan Metzmacher1-1/+1
instead of NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH ↵Stefan Metzmacher1-40/+14
instead of DCERPC_FAULT_CONTEXT_MISMATCH metze
2010-04-15s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of ↵Stefan Metzmacher1-1/+1
NT_STATUS_NET_WRITE_FAULT metze
2010-04-15s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher5-42/+0
metze
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher49-48/+48
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-14s4:torture/rpc/winreg: fix compiler warningsStefan Metzmacher1-3/+3
metze
2010-04-14s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at ↵Stefan Metzmacher1-8/+13
the application result metze
2010-04-13s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"Matthias Dieter Wallnöfer1-0/+20
Test for right domainname handling.
2010-04-13s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5Stefan Metzmacher1-28/+42
metze
2010-04-12s4:tortore/rpc/spoolss.c: fix declaration after code warningStefan Metzmacher1-10/+10
metze
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij14-104/+104
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-09s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.Günther Deschner1-0/+4
Guenther
2010-04-09s4-smbtorture: make sure to check for result of spoolss_GetJob tests.Günther Deschner1-4/+5
This avoids returning potentially uninitialised data. Thanks Andreas for pointing this out. Guenther
2010-04-09s4-smbtorture: display helpful error message when winreg_QueryMultipleValues ↵Günther Deschner1-5/+3
fails. Guenther
2010-04-09RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8Stefan Metzmacher1-0/+30
The behavior between w2k3 and w2k8 differs: - w2k3 just ignores alter_context requests which try to change an existing presentation context. - w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport connection. metze
2010-04-09s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected ↵Stefan Metzmacher1-4/+17
status metze
2010-04-09s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.Günther Deschner1-6/+66
Guenther
2010-04-09s4-smbtorture: fix build after winreg IDL renames, sorry..Günther Deschner1-1/+1
Guenther
2010-04-09s4-smbtorture: Fix winreg test after keytype renameing.Günther Deschner1-21/+21
Guenther
2010-04-09s4-smbtorture: when creating winreg-symlinks during a test, it is very wise ↵Günther Deschner1-2/+2
to make them volatile. Guenther
2010-04-09s4-smbtorture: winreg keytype options is a bitmask.Günther Deschner1-2/+2
Guenther
2010-04-09s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.Günther Deschner1-0/+14
Guenther
2010-04-08s4-smbtorture: protect against full UNC paths in winreg printerinfo test.Günther Deschner1-2/+26
Guenther
2010-04-08s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.Günther Deschner1-0/+185
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-08s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.Günther Deschner1-40/+20
Guenther
2010-04-07s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.Günther Deschner1-1/+1
Guenther