Try using:
        Win32::AdminMisc::LookupDC( 0 );

This only works on newer versions (from our web site).

Dave Roth
http://www.roth.net/


-----Original Message-----
From: Tai [mailto:[EMAIL PROTECTED]] 
Sent: Monday, July 30, 2001 2:50 PM
To: [EMAIL PROTECTED]
Subject: win32::AdminMisc is slow?


Hi,
        I'm trying this on a PIII-450Mhz box, fresh reboot with nothing else
running.

        It takes 15 seconds to list all user accounts (there's only
2 - Administrator and Guest) via Win32::AdminMisc::GetUsers()

        It takes 45 seconds to check my password using
Win32::AdminMisc::UserCheckPassword()

        Other things like Win32::AdminMisc::DNSCache() is rather quick,
subsecond retrievals.  Both GetUsers and UserCheckPassword did not cause my
cpu utilization to go above 10%, in fact, after a slight peak, it stayed
very low.

        Seems a bit slow, as I was hoping to wrap these and some
other stuff up in a cgi so that my help desk folks can manage users.  Any
ideas?

-Tai
_______________________________________________
Perl-Win32-Admin mailing list [EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to