i use the LanMan module NetServerEnum function ( Win32::Lanman::NetServerEnum ).
Win32::Lanman::NetServerEnum( '', $domain, SV_TYPE_WORKSTATION, \@W1);
foreach (@W1)
{
push( @WS, ${$_}{'name'});
}
foreach (@WS)
{
print "Found : $_\n";
}
i've used it to return an array of Windows boxes, and then pulled user names off of those using the Win32::NetAdmin::LoggedOnUsers
Alex
--
(space ghost and moltar are standing next to a huge ray gun)
space ghost : "moltar, i have a giant brain that is able to reduce any complex machine into a simple yes or no answer"
moltar : "okay, but that's not the CD burner"
space ghost : "moltar!. . . . . .yes!"
--