[exim-dev] [Bug 882] LDAP lookup not working with OpenLdap 2…

Góra strony
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
Dla: exim-dev
Temat: [exim-dev] [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@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |exim-dev@???
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX





--- Comment #1 from Phil Pennock <exim-dev@???> 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