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

59 Commits

Author SHA1 Message Date
Günther Deschner
fd319adcc1 s4-torture: add test for svcctl_ControlServiceExW()
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-11-09 08:00:30 +00:00
Günther Deschner
80b4893aa1 s4-torture: add test for svcctl_QueryServiceConfigEx
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-11-09 08:00:30 +00:00
Günther Deschner
ebda529b59 librpc: fix IDL for svcctl_ChangeServiceConfigW
Found while trying to run winexe against Windows Server 2019.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14313

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2020-03-09 15:00:31 +00:00
Günther Deschner
0825324bc7 s4-torture: add rpc test for ChangeServiceConfigW
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14313

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
2020-03-09 15:00:31 +00:00
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
Volker Lendecke
a99a5a34a5 Fix the developer O3 build
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Feb 25 16:32:29 CET 2015 on sn-devel-104
2015-02-25 16:32:29 +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
c201e494c4 s4-smbtorture: print SVCCTL security descriptor in test_QueryServiceObjectSecurity().
Guenther
2010-09-20 17:41:18 -07:00
Günther Deschner
f12756b5ac s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.
Guenther
2010-09-20 08:37:05 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +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
dfa92d445f s4:torture/rpc/svcctl.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:28 +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
a263eaca49 s4-smbtorture: add test_ControlService() to RPC-SVCCTL.
Guenther
2009-04-24 13:37:07 +02:00
Günther Deschner
f926a4e390 s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.
Guenther
2009-04-24 13:36:47 +02:00
Günther Deschner
ae5dd1219a s4-smbtorture: change default service to spooler in RPC-SVCCTL.
Guenther
2009-04-24 13:35:51 +02:00
Günther Deschner
f1fd39c09f s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.
Guenther
2009-04-15 22:48:54 +02:00
Günther Deschner
a2ef1fee69 s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.
Guenther
2009-04-14 12:13:32 +02:00
Günther Deschner
693c2e9529 s4-smbtorture: add test_EnumDependentServicesW() to RPC-SVCCTL.
Guenther
2009-04-09 16:42:22 +02:00
Günther Deschner
1632a4ebab s4-smbtorture: add test_QueryServiceObjectSecurity() to RPC-SVCCTL test.
Guenther
2009-04-09 14:52:30 +02:00
Günther Deschner
9945d15a5d s4-smbtorture: add test_QueryServiceConfigW() to RPC-SVCCTL.
Guenther
2009-04-09 14:33:37 +02:00
Günther Deschner
544113f9dd s4-smbtorture: add test_QueryServiceStatus() to RPC-SVCCTL.
Guenther
2009-04-09 14:33:28 +02:00
Günther Deschner
8e3145e551 svcctl: use offered/needed for buffer sizes as in spoolss.
Guenther
2009-04-08 11:03:53 +02:00
Günther Deschner
f2dd351a1e s4-smbtorture: print hand-decoded service status array in svcctl torture test.
Guenther
2009-01-09 17:08:18 +01:00
Günther Deschner
74a1ed3e28 s4-smbtorture: extend test_QueryServiceConfig2W a bit.
Guenther
2009-01-08 17:32:44 +01:00
Günther Deschner
e0edc079bd s4-smbtorture: fix build of svcctl torture test.
Guenther
2009-01-08 17:32:40 +01:00
Günther Deschner
661eeb34b5 s4-smbtorture: use names for info level in test_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:32 +01:00
Günther Deschner
4df1a491c5 s4-smbtorture: add my copyright to svcctl test.
Guenther
2009-01-08 11:19:31 +01:00
Günther Deschner
176bbcf90c svcctl: add svcctl_ConfigLevel from samba 3.
Guenther
2009-01-08 11:18:57 +01:00
Günther Deschner
5aebfd9086 s4-smbtorture: fix some build warnings.
Guenther
2008-11-27 18:19:44 +01:00
Günther Deschner
2409f216cf s4-smbtorture: add test for svcctl_QueryServiceConfig2W.
Guenther
2008-11-17 13:17:07 +01:00
Günther Deschner
c0db253507 s4-smbtorture: fix test for svcctl_EnumServicesStatusW.
Guenther
2008-11-17 13:16:11 +01:00
Günther Deschner
b43c3a36a7 s4-smbtorture: add test for svcctl_QueryServiceStatusEx.
Guenther
2008-11-17 13:15:59 +01:00
Günther Deschner
2d44f72c33 s4-smbtorture: pure reformatting of svcctl test.
Guenther
2008-11-17 13:15:20 +01:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819ee)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c09)
2007-10-10 15:03:00 -05:00
Jelmer Vernooij
2d7e170a90 r24676: Fix pointers being used rather than the data they point at - caught by the IRIX compiler.
(This used to be commit 678b125532)
2007-10-10 15:02:38 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
909b111f58 r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce291)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
4f1c8daa36 r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf024)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
eefe30b7d8 r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
25bb00fbcd r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b2)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
acd6a086b3 r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e)
2007-10-10 13:47:48 -05:00
Andrew Bartlett
645711c602 r5941: Commit this patch much earlier than I would normally prefer, but metze needs a working tree...
The main volume of this patch was what I started working on today:
 - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context.
 - Uses sepereate inner loops for some of the DCE/RPC tests

The other and more important part of this patch fixes issues
surrounding the new credentials framwork:

This makes the struct cli_credentials always a talloc() structure,
rather than on the stack.  Parts of the cli_credentials code already
assumed this.

There were other issues, particularly in the DCERPC over SMB handling,
as well as little things that had to be tidied up before test_w2k3.sh
would start to pass.

Andrew Bartlett
(This used to be commit 0453f9d05d)
2007-10-10 13:11:11 -05:00
Andrew Tridgell
e82aad1ce3 r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
less likely that anyone will use pstring for new code

 - got rid of winbind_client.h from includes.h. This one triggered a
   huge change, as winbind_client.h was including system/filesys.h and
   defining the old uint32 and uint16 types, as well as its own
   pstring and fstring.
(This used to be commit 9db6c79e90)
2007-10-10 13:09:38 -05:00
Andrew Tridgell
759da3b915 r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5)
2007-10-10 13:09:15 -05:00