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

15 Commits

Author SHA1 Message Date
Andreas Schneider
a40bc1d0ee s4:torture: Migrate smbtorture to new cmdline option parser
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-06-16 00:34:38 +00:00
Justin Stephenson
b1bf9c5d85 spoolss-iremotewinspool-tests: Use more recent client OS version
Set torture test client info build, major, and minor
version numbers to Windows 7 and Windows Server 2008 R2 values

 buildnum: 7007
 major: 6
 minor: 1

Build number taken from
 [MS-RPRN] <168> Section 2.2.3.10.1

Major/Minor numbers taken from
 https://docs.microsoft.com/en-us/windows/desktop/sysinfo/operating-system-version

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep  8 04:35:56 CEST 2018 on sn-devel-144
2018-09-08 04:35:56 +02:00
Günther Deschner
efff779c72 s4-torture: fix test_openprinter_wrap fake test result.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2014-05-16 21:24:26 +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
Günther Deschner
be5edba117 libndr: share some uuid helpers.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  8 09:52:56 CET 2011 on sn-devel-104
2011-02-08 09:52:56 +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
64424bb1c3 s4-smbtorture: pick a better printer in RPC-SPOOLSS-ACCESS.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Nov 24 22:07:33 CET 2010 on sn-devel-104
2010-11-24 22:07:33 +01:00
Günther Deschner
a1ced10196 s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.
Guenther
2010-09-22 12:24:29 -07:00
Matthias Dieter Wallnöfer
e736ace470 s4:torture/spoolss_access.c - fix discarded const warning
"discard_const_p" seems the most appropriate here.
2010-08-27 19:19:46 +02:00
Andrew Tridgell
6b266b85cf s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Günther Deschner
bcc4383ef2 s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite.
Guenther
2010-06-11 00:31:17 +02:00
Günther Deschner
5def19e4dc s4-smbtorture: test workstation auth as well in RPC-SPOOLSS-ACCESS.
Guenther
2010-06-07 12:58:46 +02:00
Günther Deschner
e271a2b861 s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS.
Guenther
2010-06-07 11:21:26 +02:00
Günther Deschner
6309f7b950 s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba releases.
Guenther
2010-06-05 01:26:49 +02:00
Günther Deschner
e89502e0f5 s4-smbtorture: add RPC-SPOOLSS-ACCESS.
This test creates

- a user
- a user with BUILTIN\Administrators membership
- a user with BUILTIN\Print Operators membership
- a user with SePrintOperatorPrivilege (if available)
- a user with full access in security descriptor

and checks what access rights are granted in spoolss_OpenPrinterEx.

Guenther
2010-06-05 00:35:09 +02:00