[wpkg-users] [Bug 208] domain group is not correctly retrieved

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Tue Jun 28 09:52:47 CEST 2011


http://bugzilla.wpkg.org/show_bug.cgi?id=208

--- Comment #2 from Daniel Dehennin <daniel.dehennin at ac-caen.fr>  ---
Can you test the following js on a workstation with the following command:

cscript //Nologo list-group.js

Here is the content of list-group.js:

hostGroups = new Array();
var HostName='adj';
var DomainName='administration';
var obj = GetObject("WinNT://" + DomainName + "/" + HostName + "$,user") ;
var Groups = obj.Groups();
for (var item =new Enumerator(Groups); !item.atEnd(); item.moveNext() ) {
    var group = item.item();
    WScript.Echo("Found computer group: " + group.Name);
    hostGroups.push(group.Name);
}

This is what I tested to validate my code against a 2003 AD.

Regards.

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list