summaryrefslogtreecommitdiff
path: root/source4/torture/ldap/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/ldap/common.c')
-rw-r--r--source4/torture/ldap/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ldap/common.c b/source4/torture/ldap/common.c
index c08534715a..5dc482776a 100644
--- a/source4/torture/ldap/common.c
+++ b/source4/torture/ldap/common.c
@@ -64,7 +64,7 @@ NTSTATUS torture_ldap_connection(TALLOC_CTX *mem_ctx, struct ldap_connection **c
return NT_STATUS_INVALID_PARAMETER;
}
- *conn = ldap_new_connection(mem_ctx, NULL);
+ *conn = ldap4_new_connection(mem_ctx, NULL);
status = ldap_connect(*conn, url);
if (!NT_STATUS_IS_OK(status)) {