summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-22 06:46:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:59 -0500
commit19d5887f0a9eb7ebf7c0f0a43ae72a0b28837041 (patch)
treee70dabf52250078e562f896252fcc828cff08ad2 /source4/torture
parente84cc8e538020b4fdaea0719b18d26b24862d5a4 (diff)
downloadsamba-19d5887f0a9eb7ebf7c0f0a43ae72a0b28837041.tar.gz
samba-19d5887f0a9eb7ebf7c0f0a43ae72a0b28837041.tar.bz2
samba-19d5887f0a9eb7ebf7c0f0a43ae72a0b28837041.zip
r2501: The AddMemberToAlias test doesn't need a domain_handle.
(This used to be commit 90a9e754db91647607eef3a2ccb08d3651fca9df)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samr.c7
1 files changed, 2 insertions, 5 deletions
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;
}