r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess().
[abartlet/samba.git/.git] / source4 / torture / locktest.c
index 810a21cb9e6b0cf74405b8f93430bd9a5a2321af..7d111be12b2495f3b12d8087cf871695cf7b48ba 100644 (file)
@@ -565,8 +565,8 @@ static void usage(void)
 
        servers[0] = cli_credentials_init(talloc_autofree_context());
        servers[1] = cli_credentials_init(talloc_autofree_context());
-       cli_credentials_guess(servers[0]);
-       cli_credentials_guess(servers[1]);
+       cli_credentials_guess(servers[0], global_loadparm);
+       cli_credentials_guess(servers[1], global_loadparm);
 
        seed = time(NULL);