r7633: this patch started as an attempt to make the dcerpc code use a given
[bbaumbach/samba-autobuild/.git] / source4 / scripting / ejs / smbcalls.c
index 1b5737db29785ca8e9b96e4887922384d10c7f12..6444ec63ccf8ee149f33e1c3e2caf18beb161563 100644 (file)
@@ -81,7 +81,10 @@ static int ejs_systemAuth(TALLOC_CTX *tmp_ctx, struct MprVar *auth, const char *
        NTSTATUS nt_status;
        DATA_BLOB pw_blob;
 
-       nt_status = auth_context_create(tmp_ctx, auth_unix, &auth_context);
+       /*
+         darn, we need some way to get the right event_context here
+       */
+       nt_status = auth_context_create(tmp_ctx, auth_unix, &auth_context, NULL);
        if (!NT_STATUS_IS_OK(nt_status)) {
                mprSetPropertyValue(auth, "result", mprCreateBoolVar(False));
                mprSetPropertyValue(auth, "report", mprCreateStringVar("Auth System Failure", 1));