Found out what I was doing wrong - but there are a couple of small improvements that Net::LDAP could use

2012-06-20 Thread Howard Wilkinson
Graham, sorted out why I could not see what was going wrong. I had assumed the callback received a Net::LDAP::Entry or undefined. Doh! However, the DESTROY is still being called and killing the error messages - so this could do with being added to the package. --- LDAP.pm~2012-06-20 12:02:36

Problem with callbacks using SyncRequest

2012-06-20 Thread Howard Wilkinson
Graham, I am using the latest CPAN release of Net::LDAP and I am running into a failure that I am having trouble tracking down. I am reasonably sure I am using the interface and protocol correctly but I keep getting this message from within the initial search. (in cleanup) Can't call method "set

Unicode password settings for Active Directory

2008-04-18 Thread Howard Wilkinson
I have found a previous thread on this list concerning the Active Directory change password facility. This describes using the following fragment of code to build the Unicode password encoding to pass through to active directory. my $charmap = Unicode::Map8->new('latin1'); my $unicodePwd = $ch