r8629: - moved the getDomainList() call out of smbcalls_auth.c and into libjs/auth.js