summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2010-05-20s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.Günther Deschner1-19/+7
Guenther
2010-05-20s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC testAndrew Bartlett2-9/+307
We also compare against SamLogon to try and validate the whole thing. Note that we must represent NULL as "" when comparing between the PAC and SamLogon, due to different marshalling of the structures. Andrew Bartlett
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij12-89/+66
2010-05-12s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set ↵Günther Deschner1-6/+16
maxpwlen. required for upcoming rap pwd tests. Guenther
2010-05-12s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.Günther Deschner1-15/+70
Guenther
2010-05-11s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use ↵Matthias Dieter Wallnöfer1-2/+2
"AF_UNIX" instead "AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
2010-05-04s4-torture: Added the printername to the AddPrinter comment.Andreas Schneider1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04s4-torture: Fixed spoolss dsspooler printername test.Andreas Schneider1-1/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-28s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo alsoGünther Deschner1-0/+31
query some existing values. Guenther
2010-04-28s4-smbtorture: add a test that adds a printer incl. devicemode.Günther Deschner1-6/+79
Guenther
2010-04-28s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler ↵Günther Deschner1-0/+88
Printer Data. Guenther
2010-04-28s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().Günther Deschner1-0/+37
Guenther
2010-04-28s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.Günther Deschner1-5/+7
Guenther
2010-04-28s4-smbtorture: be more liberal when spoolss_SetJob fails.Günther Deschner1-6/+6
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-27s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatibleMatthias Dieter Wallnöfer1-4/+56
2010-04-27s4-smbtorture: make sure to zero the add driver info 8 struct before adding ↵Günther Deschner1-0/+2
drivers. Guenther
2010-04-27s4-smbtorture: upload the full cups driver, otherwise windows will not allow ↵Günther Deschner1-8/+19
using it. Guenther
2010-04-27s4-smbtorture: only compare level 3 for s3 when checking winreg and ↵Günther Deschner1-0/+28
spoolss_Driver. Guenther
2010-04-27s4-smbtorture: mention architecture of added drivers in debug output.Günther Deschner1-4/+29
Guenther
2010-04-27s4-smbtorture: make sure to not attempt to remove a driver file twice.Günther Deschner1-0/+6
Guenther
2010-04-27s4-smbtorture: setup all members of level 3,4,6,8 driver add.Günther Deschner1-19/+28
Guenther
2010-04-27s4-smbtorture: use a torture_printer_context and upload own driver for ↵Günther Deschner1-60/+193
RPC-SPOOLSS-PRINTER test. Guenther
2010-04-27s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.Günther Deschner1-88/+67
Guenther
2010-04-27s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.Günther Deschner1-6/+41
Guenther
2010-04-28s4-netlogon: fixed getDcNameEx2 for blank inputsAndrew Tridgell1-0/+9
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-27s4-torture: not all platforms have defines like AF_AX25Andrew Tridgell1-6/+6
all we need are invalid values here, so just use fixd high values.
2010-04-27s4:torture - DsRGetDcSiteCoverageW - adapt test to check for the sitenameMatthias Dieter Wallnöfer1-0/+24
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27s4:torture - DsRGetSiteName - move "skip" statement before the ↵Matthias Dieter Wallnöfer1-3/+3
"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-27s4:torture - GetAnyDCName - adaptionsMatthias Dieter Wallnöfer1-2/+23
- 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-27s4:torture - DsRAddressesToSitenames - enhance the testsuiteMatthias Dieter Wallnöfer1-24/+264
This shows the Windows behaviour of these two calls which we should match. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-26s4: use generated rap header.Günther Deschner1-1/+1
Guenther
2010-04-23s4-smbtorture: skip tests when no local driver directory is around.Günther Deschner1-0/+4
Guenther
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