From b787b6e1bd70f90702568fa4503c1d2e6ca0a59e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 10 Oct 2011 15:58:24 +0200 Subject: libcli/cldap: don't pass tevent_context to cldap_socket_init() metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104 --- source4/torture/ldap/cldap.c | 8 ++++---- source4/torture/ldap/cldapbench.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/torture/ldap') diff --git a/source4/torture/ldap/cldap.c b/source4/torture/ldap/cldap.c index 689e518e77..69ed302ec8 100644 --- a/source4/torture/ldap/cldap.c +++ b/source4/torture/ldap/cldap.c @@ -54,7 +54,7 @@ static bool test_cldap_netlogon(struct torture_context *tctx, const char *dest) &dest_addr); CHECK_VAL(ret, 0); - status = cldap_socket_init(tctx, NULL, NULL, dest_addr, &cldap); + status = cldap_socket_init(tctx, NULL, dest_addr, &cldap); CHECK_STATUS(status, NT_STATUS_OK); ZERO_STRUCT(search); @@ -288,7 +288,7 @@ static bool test_cldap_netlogon_flags(struct torture_context *tctx, CHECK_VAL(ret, 0); /* cldap_socket_init should now know about the dest. address */ - status = cldap_socket_init(tctx, NULL, NULL, dest_addr, &cldap); + status = cldap_socket_init(tctx, NULL, dest_addr, &cldap); CHECK_STATUS(status, NT_STATUS_OK); printf("Printing out netlogon server type flags: %s\n", dest); @@ -408,7 +408,7 @@ static bool test_cldap_netlogon_flag_ds_dns_forest(struct torture_context *tctx, CHECK_VAL(ret, 0); /* cldap_socket_init should now know about the dest. address */ - status = cldap_socket_init(tctx, NULL, NULL, dest_addr, &cldap); + status = cldap_socket_init(tctx, NULL, dest_addr, &cldap); CHECK_STATUS(status, NT_STATUS_OK); printf("Testing netlogon server type flag NBT_SERVER_FOREST_ROOT: "); @@ -490,7 +490,7 @@ static bool test_cldap_generic(struct torture_context *tctx, const char *dest) CHECK_VAL(ret, 0); /* cldap_socket_init should now know about the dest. address */ - status = cldap_socket_init(tctx, NULL, NULL, dest_addr, &cldap); + status = cldap_socket_init(tctx, NULL, dest_addr, &cldap); CHECK_STATUS(status, NT_STATUS_OK); ZERO_STRUCT(search); diff --git a/source4/torture/ldap/cldapbench.c b/source4/torture/ldap/cldapbench.c index 9b87ae3138..36b319dec6 100644 --- a/source4/torture/ldap/cldapbench.c +++ b/source4/torture/ldap/cldapbench.c @@ -71,7 +71,7 @@ static bool bench_cldap_netlogon(struct torture_context *tctx, const char *addre &dest_addr); CHECK_VAL(ret, 0); - status = cldap_socket_init(tctx, tctx->ev, NULL, dest_addr, &cldap); + status = cldap_socket_init(tctx, NULL, dest_addr, &cldap); torture_assert_ntstatus_ok(tctx, status, "cldap_socket_init"); state = talloc_zero(tctx, struct bench_state); @@ -156,7 +156,7 @@ static bool bench_cldap_rootdse(struct torture_context *tctx, const char *addres CHECK_VAL(ret, 0); /* cldap_socket_init should now know about the dest. address */ - status = cldap_socket_init(tctx, tctx->ev, NULL, dest_addr, &cldap); + status = cldap_socket_init(tctx, NULL, dest_addr, &cldap); torture_assert_ntstatus_ok(tctx, status, "cldap_socket_init"); state = talloc_zero(tctx, struct bench_state); -- cgit