1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00
Files
samba-mirror/source/scripting/libjs/auth.js
2007-10-10 13:29:48 -05:00

19 lines
311 B
JavaScript

/*
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);
var lp = loadparm_init();
ret[0] = "System User";
ret[1] = lp.get("workgroup");
return ret;
}