summaryrefslogtreecommitdiff
path: root/swat
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-20 04:27:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:46 -0500
commite9c925f8727a8fa01935129ba8209183d111bd86 (patch)
treed76b05c716a41b6f14184517a3c25314066cf77f /swat
parentd9cfd55dbb969b08914fd306fb9d123e52ad6541 (diff)
downloadsamba-e9c925f8727a8fa01935129ba8209183d111bd86.tar.gz
samba-e9c925f8727a8fa01935129ba8209183d111bd86.tar.bz2
samba-e9c925f8727a8fa01935129ba8209183d111bd86.zip
r8629: - moved the getDomainList() call out of smbcalls_auth.c and into libjs/auth.js
- tried to make the ejs_userAuth() call work for the sam, not just for unix auth. I didn't get this working. Andrew, when you get a chance can you see what I'm doing wrong? I suspect its because we aren't supplying a challenge, but a challenge doesn't really make sense in a 'is this username/password' correct call. (This used to be commit 9e07c08a71908e99c2f44efc40a3249facd6850f)
Diffstat (limited to 'swat')
-rw-r--r--swat/login.esp5
1 files changed, 2 insertions, 3 deletions
diff --git a/swat/login.esp b/swat/login.esp
index 12182ea106..257567d267 100644
--- a/swat/login.esp
+++ b/swat/login.esp
@@ -1,6 +1,5 @@
-<% page_header("plain", "SWAT Login", ""); %>
-
-<%
+<% page_header("plain", "SWAT Login", "");
+ libinclude("auth.js");
if (request['SESSION_EXPIRED'] == "True") {
write("<b>Your session has expired - please authenticate again<br /></b>\n");