summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls_auth.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-03 08:05:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:59:00 -0500
commit222c6dd7818c729540079cc480ee56812681854e (patch)
treec8c92312f69ae1c97ad51d2a66e524d3e41cc165 /source4/scripting/ejs/smbcalls_auth.c
parent2f269ed95463535b701851735a9b2d43d6b955c1 (diff)
downloadsamba-222c6dd7818c729540079cc480ee56812681854e.tar.gz
samba-222c6dd7818c729540079cc480ee56812681854e.tar.bz2
samba-222c6dd7818c729540079cc480ee56812681854e.zip
r23680: Make it easier to setup a domain member server - the 'server role'
will now control the auth methods, but an override is still available, ex: auth methods:domain controller = <methods> Andrew Bartlett (This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_auth.c')
-rw-r--r--source4/scripting/ejs/smbcalls_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_auth.c b/source4/scripting/ejs/smbcalls_auth.c
index 7b9fe2fc17..5509e78357 100644
--- a/source4/scripting/ejs/smbcalls_auth.c
+++ b/source4/scripting/ejs/smbcalls_auth.c
@@ -56,7 +56,7 @@ static int ejs_doauth(MprVarHandle eid,
msg = messaging_client_init(tmp_ctx, ev);
}
- nt_status = auth_context_create(tmp_ctx, auth_types, ev, msg, &auth_context);
+ nt_status = auth_context_create_methods(tmp_ctx, auth_types, ev, msg, &auth_context);
if (!NT_STATUS_IS_OK(nt_status)) {
mprSetPropertyValue(auth, "result", mprCreateBoolVar(False));
mprSetPropertyValue(auth, "report", mprString("Auth System Failure"));