1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

2028 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
abf2764361 s4:torture/rpc/samr.c: Fix the "ValidatePassword" test
It was failing randomly due to an uninitialised "status" variable.
2010-05-25 12:09:32 +02:00
Simo Sorce
8040bc608a torture: fix typos 2010-05-22 12:40:42 -04:00
Andreas Schneider
b6b3822289 s4-torture: Improved the winreg symlink test.
This test is still disabled as we don't know how to remove a symbolic
link. It looks like there only DeleteKey functions which can work on a
handle are able to delete a symbolic link.

Pair-Programmed-With: Michael Adam <obnox@samba.org>
2010-05-21 15:59:23 +02:00
Andreas Schneider
74d0fc10fd s4-torture: Disable the security descriptor tests. 2010-05-21 15:59:10 +02:00
Andreas Schneider
225bd02dab s4-torture: Try to fix the winreg tests. 2010-05-21 15:59:00 +02:00
Michael Adam
124047877d s4:torture:winreg: improve error messages in test_HKLM_wellknown 2010-05-21 11:24:27 +02:00
Michael Adam
67439d4297 s4:torture:winreg: improve error messages in test_QueryValue_full
So that one has a chance to tell what part of the test failed. And why.
2010-05-21 11:24:15 +02:00
Günther Deschner
783cd32a75 s4-smbtorture: add kernel_mode_registry_path().
Guenther
2010-05-21 01:31:26 +02:00
Günther Deschner
e6047c1634 s4-smbtorture: Fix volatile test in RPC-WINREG.
Guenther
2010-05-21 01:31:22 +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
Günther Deschner
393e1495af s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
ff3d2bef11 s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
7370d03627 s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
Guenther
2010-05-20 22:49:50 +02:00
Andrew Bartlett
4fa9aa3099 s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test
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-20 17:39:09 +10:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Günther Deschner
19d99a6426 s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
required for upcoming rap pwd tests.

Guenther
2010-05-12 00:16:50 +02:00
Günther Deschner
40e7a5879c s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Guenther
2010-05-12 00:16:50 +02:00
Matthias Dieter Wallnöfer
313add8fa9 s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
2010-05-11 16:18:28 +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
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
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
1983d0dde7 s4: use generated rap header.
Guenther
2010-04-26 22:52:59 +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