[exim-dev] [Bug 1273] New: `ldapauth` fails when TLS is enab…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Alexander Zagrebin
Data:  
Para: exim-dev
Tópicos Novos: [exim-dev] [Bug 1273] `ldapauth` fails when TLS is enabled, [exim-dev] [Bug 1273] `ldapauth` fails when TLS is enabled, [exim-dev] [Bug 1273] `ldapauth` fails when TLS is enabled, [exim-dev] [Bug 1273] `ldapauth` fails when TLS is enabled, [exim-dev] [Bug 1273] `ldapauth` fails when TLS is enabled
Assunto: [exim-dev] [Bug 1273] New: `ldapauth` fails when TLS is enabled
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1273
           Summary: `ldapauth` fails when TLS is enabled
           Product: Exim
           Version: 4.80
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: high
         Component: Lookups
        AssignedTo: nigel@???
        ReportedBy: alexz@???
                CC: exim-dev@???



I'm using a TLS protected LDAP lookups.
After upgrading to 4.80 I've noticed that `ldapauth` fails with the following
error:
failed to initiate TLS processing on an LDAP session to server xxxxxx:389 -
ldap_start_tls_s() returned -2: Local error
This error occurs when `perform_ldap_search` tries to start TLS via call to
`ldap_start_tls_s`, when a current session is already TLS protected.
This error will happen always, when exim needs to rebind to LDAP server.
The attached patch solves this issue.


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