Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

[Bug 882] LDAP lookup not working with OpenLdap 2.4

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


exim-dev at spodhuis

Aug 24, 2009, 1:07 AM

Post #1 of 1 (663 views)
Permalink
[Bug 882] LDAP lookup not working with OpenLdap 2.4

------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=882

Phil Pennock <exim-dev [at] spodhuis> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |exim-dev [at] spodhuis
Status|NEW |RESOLVED
Resolution| |WONTFIX




--- Comment #1 from Phil Pennock <exim-dev [at] spodhuis> 2009-08-24 09:07:48 ---
I link Exim against OpenLDAP 2.4, purely for testing LDAP when helping people
out.

I do see that you have extraneous whitespace in your configuration and that
removing the whitespace solves the problem. It seems that the presence of
parentheses means that trailing whitespace after the closing parens is a
problem. I can reproduce your problem only if my query is contained in parens
and there is whitespace *after* the final closing parens and before the
close-brace.

Exim just calls ldap_url_parse() from the OpenLDAP libraries, so perhaps the
parser there got more strict about extraneous whitespace.

Exim's configuration is a programming language, somewhat. You added extra
whitespace to a data field, as part of the data, and it was passed through.
Removing the extra data which you specified fixes the problem.

I'm closing the bug, but perhaps someone will re-open it if they think that
Exim should, and can safely, strip whitespace as a user convenience.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.