in reply to Re: Active Directory DC and OU
in thread Active Directory DC and OU
If you just want to query ActiveDirectory, Net::LDAP is fine. But for writing, AD seems to have a problem with non-ASCII characters because (except within the distinguishedName) utf-8 is not used and Net::LDAP in version3 insists on writing utf-8.
my $ldap = Net::LDAP->new($hostname, version => 2) or die "Error: can't connect to '$hostname'";
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v126.96.36.199.11.32"