From 25f286fdfe0cf7ac800ccf3ac62ee5e1d2ceb583 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 2 Dec 2007 16:20:29 +0100 Subject: r26223: Move loadparm context up in the stack. (This used to be commit 152e2b1a283675b53affb8f7225644925f171dbd) --- source4/torture/ldap/cldap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/torture/ldap') diff --git a/source4/torture/ldap/cldap.c b/source4/torture/ldap/cldap.c index f258a1c32f..a254a0ec09 100644 --- a/source4/torture/ldap/cldap.c +++ b/source4/torture/ldap/cldap.c @@ -26,6 +26,7 @@ #include "librpc/gen_ndr/ndr_nbt.h" #include "torture/torture.h" #include "lib/ldb/include/ldb.h" +#include "param/param.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ @@ -215,6 +216,7 @@ static bool test_cldap_generic(TALLOC_CTX *mem_ctx, const char *dest) ZERO_STRUCT(search); search.in.dest_address = dest; + search.in.dest_port = lp_cldap_port(global_loadparm); search.in.timeout = 10; search.in.retries = 3; -- cgit