Of course, this only works from a Windows machine. I'd definately look at ADSI and what you can do with it. It's pretty handy.#!/usr/bin/perl -w use strict; use Win32::OLE qw(in); my $server = "XXXXXX"; my $domain = Win32::OLE->GetObject("WinNT://$server"); $domain->{Filter} = ["group"]; foreach my $group (in($domain)) { print "$group->{Name}\n"; }
Hope this helps..
Rich
In reply to Re: Getting NT Groups
by rchiav
in thread Getting NT Groups
by ibc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |