in reply to Help using Win32::OLE
Means that the error came from your provider (Active Directory in this case).OLE exception from "Provider":
Is the error that was returned by Active Directory.One or more errors occurred during processing of command
Means that Active directory generated the error when Perl called "Execute" on line 11.Win32::OLE(0.1702) error 0x80040e14 in METHOD/PROPERTYGET "Execute" at sdomain.pl line 11
The error message from Active Directory isn't very helpful in this case. You need to changeLDAP://dc=corp,dc=example,dc=edu;(&(objectclass=user)(objectcategory=P +erson));name,mailNickname,extensionAttribute1;Subtree
tomy $strBase = "LDAP://dc=corp,dc=example,dc=edu;";
my $strBase = "<LDAP://dc=corp,dc=example,dc=edu>;";
|
|---|