http://qs1969.pair.com?node_id=204609


in reply to How to fetch groups and users on a win2k system

Admin::Misc won't pull correct info on a 2000 domain even in mixed mode. It will pull data from the PDC emmulator, but if you have users that were created in AD, you won't get them. You have to access ADSI directly.

I did this in a script found here. Pull out the first 2 subs. One will do NT4, and the other will do win2k via ADSI. The ADSI stuff was kind of hard to figure out, as there isn't a lot of info out there on Perl vs. ADSI.

-OzzyOsbourne