From 176bbcf90cd890111177aeebce3f0563ac2da584 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 14 Nov 2008 12:03:18 +0100 Subject: svcctl: add svcctl_ConfigLevel from samba 3. Guenther --- source4/torture/rpc/svcctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c index 8d8f43a0cf..5cd002de8e 100644 --- a/source4/torture/rpc/svcctl.c +++ b/source4/torture/rpc/svcctl.c @@ -124,7 +124,7 @@ static bool test_QueryServiceConfig2W(struct torture_context *tctx, struct dcerp struct policy_handle h, s; NTSTATUS status; - uint32_t info_level = 1; + uint32_t info_level = SERVICE_CONFIG_DESCRIPTION; uint8_t *buffer; uint32_t buf_size = 0; uint32_t bytes_needed = 0; -- cgit From 4df1a491c5471b751835583471a0bb0f17d42616 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 14 Nov 2008 13:48:59 +0100 Subject: s4-smbtorture: add my copyright to svcctl test. Guenther --- source4/torture/rpc/svcctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c index 5cd002de8e..d3aff8dcdd 100644 --- a/source4/torture/rpc/svcctl.c +++ b/source4/torture/rpc/svcctl.c @@ -3,6 +3,7 @@ test suite for srvsvc rpc operations Copyright (C) Jelmer Vernooij 2004 + Copyright (C) Guenther Deschner 2008 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -- cgit From 661eeb34b5079e053c821f6d637a5061e6ce6c5e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 14 Nov 2008 13:49:36 +0100 Subject: s4-smbtorture: use names for info level in test_QueryServiceStatusEx. Guenther --- source4/torture/rpc/svcctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c index d3aff8dcdd..4097d825b1 100644 --- a/source4/torture/rpc/svcctl.c +++ b/source4/torture/rpc/svcctl.c @@ -78,7 +78,7 @@ static bool test_QueryServiceStatusEx(struct torture_context *tctx, struct dcerp struct policy_handle h, s; NTSTATUS status; - uint32_t info_level = 0; + uint32_t info_level = SVC_STATUS_PROCESS_INFO; uint8_t *buffer; uint32_t buf_size = 0; uint32_t bytes_needed = 0; -- cgit