[rt-users] LDAPImport succeds with user LDAP bind but fails with group

Kevin Falcone falcone at bestpractical.com
Mon Aug 5 14:26:51 EDT 2013


On Mon, Aug 05, 2013 at 05:45:58PM +0000, Elliott, Kevin C (DOR) wrote:
>    [Mon Aug  5 17:10:47 2013] [error]: LDAP search failed Can't contact LDAP server
>    (/usr/local/share/request-tracker4/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:1237)
> 
>    LDAP search failed Can't contact LDAP server
> 
>    Looking at the perl for LDAPImport.pm shows me that the _run_search method is generating the
>    "LDAP search failed" part of the debugging output. I'm assuming this means that Net::LDAP is
>    generating the "Can't contact LDAP server" from $result->code. I feel this hypothesis is
>    further supported by the fact that a `grep "contact" LDAPImport.pm' turn up nothing. It looks
>    like Net:LDAP just gets the base and filter and off it goes. I've confirmed that my filter
>    works with ldapsearch.

Correct - those errors come from Net::LDAP->error().
What do the logs on your LDAP server say?

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130805/37beca4d/attachment.sig>


More information about the rt-users mailing list