summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/ejsnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/ejs/ejsnet')
-rw-r--r--source4/scripting/ejs/ejsnet/net_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/ejsnet/net_ctx.c b/source4/scripting/ejs/ejsnet/net_ctx.c
index a2a3821082..5fdfe51887 100644
--- a/source4/scripting/ejs/ejsnet/net_ctx.c
+++ b/source4/scripting/ejs/ejsnet/net_ctx.c
@@ -68,7 +68,7 @@ static int ejs_net_context(MprVarHandle eid, int argc, struct MprVar **argv)
talloc_free(ctx);
return -1;
}
- cli_credentials_set_conf(creds);
+ cli_credentials_set_conf(creds, global_loadparm);
cli_credentials_set_anonymous(creds);
mprCreds = mprCredentials(creds);