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
Anatoliy Atanasov
0e8fe821c9
s4/drs:kccdrs_replica_get_info_obj_metadata implementation
...
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
2010-02-17 18:03:31 +02: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
Erick Nogueira do Nascimento
23d1dd5189
s4-drs: DsGetReplInfo() refactoring
2010-02-16 08:34:28 +11: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
Kai Blin
b99d9f86e4
libwbclient: Separate out the async functions
2010-02-13 14:30:36 +01:00
Andrew Tridgell
700f464951
s4-torture: use TYPESAFE_QSORT() in smbtorture
2010-02-13 22:36:12 +11:00
Andrew Tridgell
91cb7b7c60
test:local added LOCAL-DLINKLIST testsuite
...
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2010-02-10 15:55:34 -08:00
Günther Deschner
f8778ba8f4
s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-02-10 01:00:25 +01:00
Andrew Tridgell
580f955664
s4-torture: allow host-only in unc lists in smbtorture
...
Allow UNC lists like this:
192.168.2.1
192.168.2.2
192.168.2.3
the share name will be taken from the command line
2010-02-09 14:46:09 +11:00
Günther Deschner
aa72950b3d
s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
...
Guenther
2010-02-08 14:31:16 +01:00
Andrew Tridgell
f692c6dbc4
s4-torture: more useful error message in SMB2-DIR
2010-02-08 11:05:00 +11:00
Andrew Tridgell
6cf5bdd3d3
s4-torture: handle NT_STATUS_CONNECTION_RESET
...
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-04 21:22:43 +11:00
Matt Kraai
d8071e7ed7
Change uint_t to unsigned int in source4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Stefan Metzmacher
e3aeea29a4
s4:NBT-WINSREPLICATION: don't mark a local variable as static
...
This was somehow introduced in commit 8773e743c5
.
metze
2010-02-02 07:18:15 +01:00
Stefan Metzmacher
431d75fc9c
s4:NBT-WINS: test large scopes
...
metze
2010-02-01 15:32:38 +01:00
Stefan Metzmacher
70779a46a7
s4:NBT-WINS: pass the expected rcode of the name registration to the test code
...
metze
2010-02-01 15:32:36 +01:00
Stefan Metzmacher
c1d8dc01fc
s4:NBT-WINSREPLICATION: test replication with names including scopes
...
metze
2010-02-01 15:23:35 +01:00
Stefan Metzmacher
331505f09d
s4:NBT-WINSREPLICATION: fix compiler warnings
...
metze
2010-02-01 15:23:34 +01:00
Stefan Metzmacher
07b06e51bb
s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names
...
metze
2010-02-01 15:23:33 +01:00
Günther Deschner
42f5125521
s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 21:00:00 +01:00
Günther Deschner
0c6aae4d53
s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 20:59:56 +01:00
Günther Deschner
377abba0e9
s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-31 20:49:53 +01:00
Kamen Mazdrashki
2dc56d68fa
s4/ldap: Test to expoit ldb_ildap bug in case of nested search requests
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29 14:09:53 +01:00
Günther Deschner
0e2d1cf9c4
s4-smbtorture: pick correct last packet while checking backchannel replies in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-01-27 15:04:00 +01:00
Michael Adam
098fc8c09c
s4:torture: refactor querying of domain info out into test_QueryDomainInfo2_level()
...
Used in several places.
(Note: The _level suffix in the function name is just because
test_QueryDomainInfo2() already exists as an overall test for all levels.)
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
0a33b20f70
s4:torture: create new test_SetDomainInfo_ntstatus()
...
for checking for SetDomainInfo giving a desired return code.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
c1d157a481
s4:torture: refactor setting of domain inf out into test_SetDomainInfo()
...
and use it in several places.
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
50a46cff76
s4:torture: refactor setting account flags out into test_SetUserInfo_acct_flags()
...
and use this in four places (enabling/disabling accounts).
Michael
Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Stefan Metzmacher
601642d923
s4:smbtorture: add BASE-BENCH-HOLDOPEN
...
This is useful for manual performance testing with a large
number of share mode entries.
metze
2010-01-26 15:23:24 +01:00
Günther Deschner
7148eff0b7
s4-smbtorture: also test smbc_getOptionUseCCache
2010-01-26 12:11:28 +01:00
Günther Deschner
5dfec4f36b
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.
...
Guenther
2010-01-25 11:20:06 +01:00
Jelmer Vernooij
f679def4f2
s4: Fix a few warnings.
2010-01-21 16:15:11 +13:00
Michael Adam
9764db806f
torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT
...
This tests account lockout features.
Windows 2003r2 and Windows 2008r2 survice this test.
Note: Windows does not set the ACB_AUTOLOCK account flag when it
locks out an account.
One thing that could/should be added to this test is a check of
the lockout time property.
Michael
2010-01-20 17:32:58 +01:00