rem: subobj.HOSTGUID     = randguid(); 
context: function provision_guess(){	var subobj = new Object();	var nss = nss_init();	var lp = loadparm_init();	var rdn_list;	random_init(local);	subobj.REALM        = strupper(lp.get("realm"));	subobj.DOMAIN       = lp.get("workgroup");	subobj.HOSTNAME     = hostname();	assert(subobj.REALM);	assert(subobj.DOMAIN);	assert(subobj.HOSTNAME);	subobj.VERSION      = version();	subobj.HOSTIP       = hostip();	subobj.DOMAINGUID   = randguid();	subobj.DOMAINSID    = randsid();	subobj.HOSTGUID     = randguid();	subobj.INVOCATIONID = randguid();	subobj.KRBTGTPASS   = randpass(12);	subobj.MACHINEPASS  = randpass(12);	subobj.ADMINPASS    = randpass(12);	subobj.DEFAULTSITE  = "Default-First-Site-Name";	subobj.NEWGUID      = randguid;	subobj.NTTIME       = nttime;	subobj.LDAPTIME     = ldaptime;	subobj.DATESTRING   = datestring;	subobj.ROOT         = findnss(nss.getpwnam, "root");	subobj.NOBODY       = findnss(nss.getpwnam, "nobody");	subobj.NOGROUP      = findnss(nss.getgrnam, "nogroup", "nobody");	subobj.WHEEL        = findnss(nss.getgrnam, "wheel", "root", "staff", "adm");	subobj.BACKUP       = findnss(nss.getgrnam, "backup", "wheel", "root", "staff");	subobj.USERS        = findnss(nss.getgrnam, "users", "guest", "other", "unknown");	subobj.DNSDOMAIN    = strlower(subobj.REALM);	subobj.DNSNAME      = sprintf("%s.%s", 				      strlower(subobj.HOSTNAME), 				      subobj.DNSDOMAIN);	rdn_list = split(".", subobj.DNSDOMAIN);	subobj.BASEDN       = "DC=" + join(",DC=", rdn_list);	subobj.LDAPBACKEND  = "users.ldb";	return subobj;}
meta: 5771	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5771/2b99336a56a47838510f9b8a01aab05363c424b6/provision.js/clean/source4/scripting/libjs/provision.js