Suggestion regarding the extension RT-Extension-LDAPImport

Hello, i just wanted to report a small issue with RT-Extension-LDAPImport,
when i execute it, it will try to update any user that has a field with non
7 bit ASCII characters in it, for example:

User yvelasquez: Organization changed from ‘CENTRO DE INSPECCI▒N AUTOMOTRIZ’

The actual value is CENTRO DE INSPECCIÓN AUTOMOTRIZ. My guess is that any
field with 8 bit ASCII or Unicode will cause this problem.

View this message in context:

Well i just found that this bug was reported and doesn’t have an update since
february 2013.

View this message in context:

I got contacted by Max Kosmach with a one line patch and it seems to be
working, i paste his patch below, don’t know if it breaks something else:

— RT/Extension/ 2014-09-23 00:17:19.000000000
+++ RT/Extension/ 2015-03-11 13:21:30.161168864 +0300
@@ -386,7 +386,7 @@
sub connect_ldap {
my $self = shift;

  • my $ldap = Net::LDAP->new($RT::LDAPHost);
  • my $ldap = Net::LDAP->new($RT::LDAPHost, raw =>
    $self->_debug(“connecting to $RT::LDAPHost”);
    unless ($ldap) {
    $self->_error(“Can’t connect to $RT::LDAPHost”);

View this message in context: