r8629: - moved the getDomainList() call out of smbcalls_auth.c and into libjs/auth.js
[kai/samba.git] / source4 / scripting / libjs / auth.js
1 /*
2         auth js library functions
3         Copyright Andrew Tridgell 2005
4         released under the GNU GPL v2 or later
5 */
6
7
8 /*
9   get a list of domains for SWAT authentication
10 */
11 function getDomainList()
12 {
13         var ret = new Array(2);
14         ret[0] = "System User";
15         ret[1] = lpGet("workgroup");
16         return ret;
17 }