If you are using AD, I would really recommend using Win32::Lanman. It takes a little while to get used to, but it works in many situations where Win32::AdminMisc doesn't. Of course, if you really want to get the full power of AD to work for you, you should try using perl with LDAP queries, but that's a much steeper learning curve.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DePriest, Jason R. Sent: Thursday, November 13, 2003 8:52 AM To: [EMAIL PROTECTED] Subject: Can Win32::AdminMisc::GetGroups list UNIVERSAL groups? Hello, I have a perl script that queries a primary domain controller for local and global groups. However, it also has the new-and-improved AD universal groups. Can Win32::AdminMisc::GetGroups get those, as well? Using this Win32::AdminMisc::GetGroups($pdc,GROUP_TYPE_UNIVERSAL,[EMAIL PROTECTED] st) Generates the following error: Argument "GROUP_TYPE_UNIVERSAL" isn't numeric in subroutine entry at regroup.pl line 83. I have tried replacing GROUP_TYPE_UNIVERSAL with numbers and come up with this analogy 0 -> error 1 -> GROUP_TYPE_LOCAL 2 -> GROUP_TYPE_GLOBAL 3 -> GROUP_TYPE_ALL 4 -> error 5 -> mildly unprintable characters with 'NetAdmin::' stuck at the end 6 -> mildly unprintable characters with 'NetAdmin::' stuck at the end 7 -> mildly unprintable characters with 'NetAdmin::' stuck at the end I stopped at that point. If it doesn't know about universal groups, can that be added? Thank you! Jason DePriest, GSEC, GCFW Systems and Applications Security Analyst E-Business Security Team ph. (901) 523-5975 fax (901) 523-5714 email jrdepriest at ftb dot com ----- "There is no patch for stupidity." _ ASCII ribbon campaign ( ) - against HTML email X & vCards / \ _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
