diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-02 16:20:29 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:59 +0100 |
commit | 25f286fdfe0cf7ac800ccf3ac62ee5e1d2ceb583 (patch) | |
tree | 9ce15c25300172ff1258436f7cd27b9864fcc797 /source4/torture | |
parent | 3b281c308111323600af4ed44af372d7ceb0b25b (diff) | |
download | samba-25f286fdfe0cf7ac800ccf3ac62ee5e1d2ceb583.tar.gz samba-25f286fdfe0cf7ac800ccf3ac62ee5e1d2ceb583.tar.bz2 samba-25f286fdfe0cf7ac800ccf3ac62ee5e1d2ceb583.zip |
r26223: Move loadparm context up in the stack.
(This used to be commit 152e2b1a283675b53affb8f7225644925f171dbd)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/ldap/cldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |