1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/scripting/libjs/auth.js
Andrew Kroeger 8f8c56bfbc Convert some more files to GPLv3.
(This used to be commit ebe5e83994)
2008-03-28 01:08:49 -05:00

19 lines
318 B
JavaScript

/*
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;
}