[exim-dev] [Bug 1453] New: option "servers" for LDAP lookups

Góra strony
Delete this message
Reply to this message
Autor: Heiko Schlichting
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 1453] New: option "servers" for LDAP lookups
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1453
           Summary: option "servers" for LDAP lookups
           Product: Exim
           Version: 4.82
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Lookups
        AssignedTo: nigel@???
        ReportedBy: heiko@???
                CC: exim-dev@???



Created an attachment (id=703)
--> (http://bugs.exim.org/attachment.cgi?id=703)
idea for servers option in ldap lookups

ldap lookups can only use the global ldap_default_server list of servers or a
single server specified in the ldap(s):// URL without a fallback.

Sometimes a single list of ldap servers (ldap_default_server) is not
sufficient.

The attached git format patch adds an option "SERVERS=" for ldap lookups which
can be used like ldap_default_servers. It is used if the URL starts with
ldap:/// or ldaps:///

To specify a port number colons must be doubled or the separator should be
changed as usual:

    servers="<; ldap1.example.org:3268 ; ldap2.example.org:3268"


Treat the attached patch as an idea only. Coding style and format is not exim
conform, it has German comments and no documentation for the new option. But
should be enough to demonstrate that this option can be implemented easily.


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