Win32::AdminMisc will not get the PDC
by Steven Satelle other posts by this author
Mar 15 2005 10:54AM messages near this date
view in the new Beta List Site
RE: Win32::AdminMisc will not get the PDC
|
RE: Win32::Perms
I'm having a problem with Win32::AdminMisc::GetDC or GetPDC
I've been using this particular bit of AdminMisc a lot over the last
couple of years. Suddenly, it stopped working. It will no longer give
me the PDC or even a DC.
I havent used any perl scripts for the last month or so, when I
started one yesterday. AdminMisc just wouldnt work. So I wrote a
simple test script:
use Win32::AdminMisc;
$comptroller = Win32::AdminMisc::GetDC();
print "$comptroller\n";
It doesnt work, when I change it to:
Win32::AdminMisc::GetPDC() || die Win32::AdminMisc::GetError();
it returns '0'
I had done some messing with perl 5.8 last month and thinking that
this corrupted my install in someway I rebuilt my pc and went for the
latest activestate perl install - ActivePerl-5.6.1.638-MSWin32-x86.msi
But post rebuild it still wont work. The only thing that I can think
of is about 6 weeks ago a second domain was setup so it now appears in
my logon screen dropdown
I'm running win2k, latest Servicepacks, the perl install is the
version above, and the version of adminMisc is Win32-AdminMisc
[0.2003.07.14]
Anyone any idea's?
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|