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

41 Commits

Author SHA1 Message Date
Günther Deschner
37853aef42 werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source4/torture/
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:23 +02:00
Günther Deschner
31ed3c0510 werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source4/torture/rpc/
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2016-09-28 00:04:17 +02:00
Stefan Metzmacher
13ccc5b517 s4:torture:spoolss_win: fix valgrind problem in test_EnumJobs()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-01-07 08:37:34 +01:00
Günther Deschner
f80d56a1a0 s4-torture: No need to disable rpc.spoolss.win test when compiled with MIT kerberos.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>

Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon May 20 20:35:33 CEST 2013 on sn-devel-104
2013-05-20 20:35:33 +02:00
Günther Deschner
a4dcf7b94d spoolss: Make OpenPrinterEx work with NDR64 by using UserInfo Container.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2013-01-16 11:42:13 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Günther Deschner
29c0c103af s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.
Guenther
2010-06-05 00:35:09 +02:00
Stefan Metzmacher
e1e2195a4a s4:torture/rpc: rename rpc.h => torture_rpc.h
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-14 20:27:11 +02:00
Stefan Metzmacher
bffe222230 s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:31 +01:00
Günther Deschner
58c9070746 s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.
Guenther
2010-03-05 20:35:50 +01:00
Günther Deschner
ce33967f4a s4-smbtorture: fix and extend enum printerkey test.
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
450211b610 s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.
Guenther
2009-12-03 01:04:02 +01:00
Günther Deschner
5f60855ba2 samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.

Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
0608d6b125 s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.
Guenther
2009-11-23 13:35:32 +01:00
Andrew Tridgell
84d0047377 s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Günther Deschner
81253ec146 s4-smbtorture: Fix RPC-SPOOLSS-WIN for printers with a lot of jobs in the queue.
Guenther
2009-04-17 17:23:59 +02:00
Günther Deschner
1f6646e135 s4-smbtorture: Small fix for RPC-SPOOLSS-WIN to deal with driver-less printers.
The getdriver query failure should only be critical when there is actually a
driver associated to a printer.

Guenther
2009-04-08 13:51:26 +02:00
Günther Deschner
342b436691 s4-smbtorture: fix spoolss_EnumPrinterKey callers in RPC-SPOOLSS-WIN test.
Kai, please check.

Guenther
2009-03-18 10:35:22 +01:00
Günther Deschner
6e52c232c7 s4-smbtorture: fix spoolss_EnumPrinterDataEx tests.
sorry, I could swear this did compile...

Guenther
2009-03-18 01:42:56 +01:00
Günther Deschner
87d97ad042 s4-smbtorture: fix test_EnumPrinterKey.
Guenther
2009-03-17 12:15:33 +01:00
Günther Deschner
0e2139c693 s4-smbtorture: fix RPC-SPOOLSS test after PrinterData changes.
Guenther
2009-03-17 11:14:54 +01:00
Günther Deschner
c6e3e5eabc s4-smbtorture: fix test_GetPrinterData tests after out pointer changes.
Guenther
2009-03-17 10:58:22 +01:00
Günther Deschner
8e68eb2cc3 s4-smbtorture: fix RPC-SPOOLSS-WIN.
Guenther
2009-03-06 14:28:10 +01:00
Jelmer Vernooij
94069bd274 s4: Use same function signature for convert_* as s3. 2009-03-01 19:55:46 +01:00
Jelmer Vernooij
9ffb6d2d9e Add allow_badcharcnv argument to all conversion function, for
consistency with Samba 3.
2009-03-01 06:33:40 +01:00
Günther Deschner
64cec99843 s4-smbtorture: fix spoolss test after count out,ref idl changes.
Guenther
2009-02-17 16:15:52 +01:00
Günther Deschner
b3b06a8b7b s4-smbtorture: fix test_EnumJobs in spoolss win test.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
6b19c39697 s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.
Guenther
2009-02-07 00:46:09 +01:00
Günther Deschner
cd5a314b51 s4-smbtorture: fix test_GetPrinterData.
Guenther
2009-02-06 18:37:02 +01:00
Günther Deschner
afe300cb52 s4-smbtorture: fix spoolss enum tests.
Guenther
2009-02-06 17:36:10 +01:00
Günther Deschner
33d2507ba2 s4-smbtorture: fix test_EnumPrinterKey.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
88aaac39fa s4-smbtorture: fix test_EnumPrinterDataEx.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
3954cd83aa s4-smbtorture: fix test_GetPrinterDriver2.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
b970eb791c s4-smbtorture: fix test_GetPrinter.
Guenther
2009-02-06 14:59:21 +01:00
Jelmer Vernooij
37d885c51a Remove iconv_convenience argument from convert_string{,talloc}() but
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121d)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
5e00673a40 r26438: Store iconv convenience in tdr push contexts.
(This used to be commit dffef31627)
2007-12-21 05:50:07 +01:00
Jelmer Vernooij
d891c0c74a r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7ab)
2007-12-21 05:49:56 +01:00
Kai Blin
8f687a5fae r26428: spoolss: Fix a typo.
(This used to be commit 5a3a851dc7)
2007-12-21 05:49:54 +01:00
Jelmer Vernooij
aa32619c5c r26426: Remove uses of global_loadparm.
(This used to be commit e1d177c8c1)
2007-12-21 05:49:52 +01:00
Kai Blin
a6b4d4fe81 r26395: spoolss: Add WinXP-like printer browsing test.
(This used to be commit 2ccc4d2af5)
2007-12-21 05:49:24 +01:00