Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble with Win32::AD::User module

Status
Not open for further replies.

jonlake

MIS
Sep 17, 2003
76
US
I am on Windows XP and running activestate perl. I used ppm to install the Win32::AD::User module. The example code from the cpan website of setting up a connection

use Win32::AD::User;

$user = AdUser->new( ADS_CONNECT_STRING, USER_REFERENCE_STRING );

acts as if the module isn't installed. Output is:
Can't locate object method "new" via package "Win32::Ad::user" (perhaps you forg
ot to load "Win32::Ad::user"?) at C:\perl_scripts\ad.pl line 4.

I also tried installing it from .tar.gz file from cpan. Still same output. Has anyone else had problems with this module?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top