summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c6
-rw-r--r--source4/torture/rpc/wkssvc.c12
2 files changed, 12 insertions, 6 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index 346a073723..79f64005be 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -400,6 +400,12 @@ static BOOL test_OpenDomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
return False;
}
+#if 0
+ if (!test_CreateUser(p, mem_ctx, &domain_handle)) {
+ ret = False;
+ }
+#endif
+
if (!test_QuerySecurity(p, mem_ctx, &domain_handle)) {
ret = False;
}
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c
index 5f8a63de10..b8ae3de202 100644
--- a/source4/torture/rpc/wkssvc.c
+++ b/source4/torture/rpc/wkssvc.c
@@ -26,7 +26,7 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx)
{
NTSTATUS status;
- struct wks_QueryInfo r;
+ struct wkssvc_QueryInfo r;
uint16 levels[] = {100, 101, 102};
int i;
BOOL ret = True;
@@ -36,7 +36,7 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p,
for (i=0;i<ARRAY_SIZE(levels);i++) {
r.in.level = levels[i];
printf("testing QueryInfo level %u\n", r.in.level);
- status = dcerpc_wks_QueryInfo(p, mem_ctx, &r);
+ status = dcerpc_wkssvc_QueryInfo(p, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {
printf("QueryInfo level %u failed - %s\n", r.in.level, nt_errstr(status));
ret = False;
@@ -51,11 +51,11 @@ static BOOL test_TransportEnum(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx)
{
NTSTATUS status;
- struct wks_TransportEnum r;
+ struct wkssvc_TransportEnum r;
BOOL ret = True;
- struct wks_TransportInfo info;
+ struct wkssvc_TransportInfo info;
uint32 resume_handle = 0;
- struct wks_TransportInfoArray info_array;
+ struct wkssvc_TransportInfoArray info_array;
ZERO_STRUCT(info);
ZERO_STRUCT(info_array);
@@ -70,7 +70,7 @@ static BOOL test_TransportEnum(struct dcerpc_pipe *p,
r.out.resume_handle = &resume_handle;
printf("testing TransportEnum\n");
- status = dcerpc_wks_TransportEnum(p, mem_ctx, &r);
+ status = dcerpc_wkssvc_TransportEnum(p, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {
printf("TransportEnum failed - %s\n", nt_errstr(status));
ret = False;