summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/srvsvc.c21
1 files changed, 16 insertions, 5 deletions
diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c
index 91ceebdc28..8fa4f049b4 100644
--- a/source4/torture/rpc/srvsvc.c
+++ b/source4/torture/rpc/srvsvc.c
@@ -286,7 +286,9 @@ static BOOL test_NetCharDevQEnum(struct dcerpc_pipe *p,
return ret;
}
-
+/**************************/
+/* srvsvc_NetConn */
+/**************************/
static BOOL test_NetConnEnum(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx)
{
@@ -321,9 +323,12 @@ static BOOL test_NetConnEnum(struct dcerpc_pipe *p,
}
}
- return True;
+ return ret;
}
+/**************************/
+/* srvsvc_NetFile */
+/**************************/
static BOOL test_NetFileEnum(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx)
{
@@ -359,9 +364,12 @@ static BOOL test_NetFileEnum(struct dcerpc_pipe *p,
}
}
- return True;
+ return ret;
}
+/**************************/
+/* srvsvc_NetSess */
+/**************************/
static BOOL test_NetSessEnum(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx)
{
@@ -397,7 +405,7 @@ static BOOL test_NetSessEnum(struct dcerpc_pipe *p,
}
}
- return True;
+ return ret;
}
/**************************/
@@ -439,6 +447,9 @@ static BOOL test_NetShareGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
return ret;
}
+/**************************/
+/* srvsvc_NetShare */
+/**************************/
static BOOL test_NetShareEnumAll(struct dcerpc_pipe *p,
TALLOC_CTX *mem_ctx)
{
@@ -524,7 +535,7 @@ static BOOL test_NetShareEnum(struct dcerpc_pipe *p,
}
}
- return True;
+ return ret;
}
/**************************/