diff options
Diffstat (limited to 'source4/torture/ldap/basic.c')
-rw-r--r-- | source4/torture/ldap/basic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/ldap/basic.c b/source4/torture/ldap/basic.c index 4a0ae772d2..8b1aca05f4 100644 --- a/source4/torture/ldap/basic.c +++ b/source4/torture/ldap/basic.c @@ -82,7 +82,7 @@ static BOOL test_search_rootDSE(struct ldap_connection *conn, char **basedn) conn->searchid = 0; conn->next_msgid = 30; - msg = new_ldap_message(); + msg = new_ldap_message(conn); if (!msg) { return False; } @@ -147,7 +147,7 @@ static BOOL test_compare_sasl(struct ldap_connection *conn, const char *basedn) conn->next_msgid = 55; - msg = new_ldap_message(); + msg = new_ldap_message(conn); if (!msg) { return False; } @@ -200,7 +200,7 @@ BOOL torture_ldap_basic(void) url = talloc_asprintf(mem_ctx, "ldap://%s/", host); - status = torture_ldap_connection(&conn, url, userdn, secret); + status = torture_ldap_connection(mem_ctx, &conn, url, userdn, secret); if (!NT_STATUS_IS_OK(status)) { return False; } |