From 19d5887f0a9eb7ebf7c0f0a43ae72a0b28837041 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 22 Sep 2004 06:46:30 +0000 Subject: r2501: The AddMemberToAlias test doesn't need a domain_handle. (This used to be commit 90a9e754db91647607eef3a2ccb08d3651fca9df) --- source4/torture/rpc/samr.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index d7c737d282..e271f89ae0 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -1023,7 +1023,6 @@ static BOOL test_GetMembersInAlias(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, static BOOL test_AddMemberToAlias(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *alias_handle, - struct policy_handle *domain_handle, const struct dom_sid *domain_sid) { struct samr_AddAliasMember r; @@ -1167,7 +1166,6 @@ static BOOL test_user_ops(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, static BOOL test_alias_ops(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *alias_handle, - struct policy_handle *domain_handle, const struct dom_sid *domain_sid) { BOOL ret = True; @@ -1184,8 +1182,7 @@ static BOOL test_alias_ops(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, ret = False; } - if (!test_AddMemberToAlias(p, mem_ctx, alias_handle, - domain_handle, domain_sid)) { + if (!test_AddMemberToAlias(p, mem_ctx, alias_handle, domain_sid)) { ret = False; } @@ -1366,7 +1363,7 @@ static BOOL test_CreateAlias(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, return False; } - if (!test_alias_ops(p, mem_ctx, alias_handle, domain_handle, domain_sid)) { + if (!test_alias_ops(p, mem_ctx, alias_handle, domain_sid)) { ret = False; } -- cgit