r25446: Merge some changes I made on the way home from SFO:
[jelmer/samba4-debian.git] / source / torture / ldap / uptodatevector.c
index 0ff9948cad58bd2c96030e575116f8187177dac3..f8d00eaa4d800e6ce9795332523348ff125032e5 100644 (file)
@@ -34,6 +34,8 @@
 #include "librpc/ndr/libndr.h"
 #include "librpc/gen_ndr/ndr_drsblobs.h"
 
+#include "param/param.h"
+
 static bool test_check_uptodatevector(struct torture_context *torture,
                                      struct ldb_context *ldb,
                                      struct ldb_dn *partition_dn)
@@ -158,7 +160,7 @@ BOOL torture_ldap_uptodatevector(struct torture_context *torture)
        url = talloc_asprintf(torture, "ldap://%s/", host);
        if (!url) goto failed;
 
-       ldb = ldb_wrap_connect(torture, url,
+       ldb = ldb_wrap_connect(torture, global_loadparm, url,
                               NULL,
                               cmdline_credentials,
                               0, NULL);