summaryrefslogtreecommitdiffstats
path: root/source4/scripting/libjs/auth.js
blob: 3fe81d0ea764b2d0217ebf76d8f314c9f0d30cca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
	auth js library functions
	Copyright Andrew Tridgell 2005
	released under the GNU GPL version 3 or later
*/


/*
  get a list of domains for SWAT authentication
*/
function getDomainList()
{
	var ret = new Array(2);
	var lp = loadparm_init();
	ret[0] = "System User";
	ret[1] = lp.get("workgroup");
	return ret;
}