summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/auth.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/source4/scripting/libjs/auth.js b/source4/scripting/libjs/auth.js
new file mode 100644
index 0000000000..a973cb4753
--- /dev/null
+++ b/source4/scripting/libjs/auth.js
@@ -0,0 +1,17 @@
+/*
+ auth js library functions
+ Copyright Andrew Tridgell 2005
+ released under the GNU GPL v2 or later
+*/
+
+
+/*
+ get a list of domains for SWAT authentication
+*/
+function getDomainList()
+{
+ var ret = new Array(2);
+ ret[0] = "System User";
+ ret[1] = lpGet("workgroup");
+ return ret;
+}