/*
* Testing synchronous version
*/
- if (!test_opendomain(torture, b, mem_ctx, &h, &name, &sid)) {
+ if (!test_domain_open(torture, b, &name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
b = p->binding_handle;
domain_name.string = lp_workgroup(torture->lp_ctx);
- if (!test_opendomain(torture, b, mem_ctx, &h, &domain_name, &sid)) {
+ if (!test_domain_open(torture, b, &domain_name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
/*
* Testing synchronous version
*/
- if (!test_opendomain(torture, b, mem_ctx, &h, &name, &sid)) {
+ if (!test_domain_open(torture, b, &name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
/*
* Testing asynchronous version and monitor messages
*/
- if (!test_opendomain(torture, b, mem_ctx, &h, &name, &sid)) {
+ if (!test_domain_open(torture, b, &name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
b = p->binding_handle;
domain_name.string = lp_workgroup(torture->lp_ctx);
- if (!test_opendomain(torture, b, mem_ctx, &h, &domain_name, &sid)) {
+ if (!test_domain_open(torture, b, &domain_name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
goto done;
}
- if (!test_opendomain(torture, b, mem_ctx, &h, &domain_name, &sid)) {
+ if (!test_domain_open(torture, b, &domain_name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
b = p->binding_handle;
domain_name.string = lp_workgroup(torture->lp_ctx);
- if (!test_opendomain(torture, b, mem_ctx, &h, &domain_name, &sid)) {
+ if (!test_domain_open(torture, b, &domain_name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
domain_name.string = lp_workgroup(torture->lp_ctx);
name = talloc_strdup(mem_ctx, TEST_USERNAME);
- if (!test_opendomain(torture, b, mem_ctx, &h, &domain_name, &sid)) {
+ if (!test_domain_open(torture, b, &domain_name, mem_ctx, &h, &sid)) {
ret = false;
goto done;
}
* @param _dom_sid [out] If NULL, Domain SID won't be returned
* @return
*/
-bool test_opendomain(struct torture_context *tctx,
+bool test_domain_open(struct torture_context *tctx,
struct dcerpc_binding_handle *b,
+ struct lsa_String *domname,
TALLOC_CTX *mem_ctx,
struct policy_handle *_domain_handle,
- struct lsa_String *domname,
struct dom_sid2 *_dom_sid)
{
struct policy_handle connect_handle;
*/
-bool test_opendomain(struct torture_context *tctx,
+bool test_domain_open(struct torture_context *tctx,
struct dcerpc_binding_handle *b,
+ struct lsa_String *domname,
TALLOC_CTX *mem_ctx,
- struct policy_handle *handle, struct lsa_String *domname,
- struct dom_sid2 *sid);
+ struct policy_handle *_domain_handle,
+ struct dom_sid2 *_dom_sid);
bool test_user_create(struct torture_context *tctx,
struct dcerpc_binding_handle *b,