* Marko Weber | ZBF <[email protected]>:
> hello list,
>
> we use LDAP in Postfix for User Management.
>
> Now i should setup a second LDAP server and postfix should use the
> second LDAP server when the first is not longer available.
>
> i searched inet but didnt really find a solution. can u help me or
> guide me?
Specify a list of LDAP servers.
ldap_table(5)
server_host (default: localhost)
The name of the host running the LDAP server, e.g.
server_host = ldap.example.com
Depending on the LDAP client library you're using, it should be
possible to specify multiple servers here, with the library try‐
ing them in order should the first one fail. It should also be
possible to give each server in the list a different port (over‐
riding server_port below), by naming them like
server_host = ldap.example.com:1444
With OpenLDAP, a (list of) LDAP URLs can be used to specify both
the hostname(s) and the port(s):
server_host = ldap://ldap.example.com:1444
ldap://ldap2.example.com:1444
All LDAP URLs accepted by the OpenLDAP library are supported,
including connections over UNIX domain sockets, and LDAP SSL
(the last one provided that OpenLDAP was compiled with support
for SSL):
server_host = ldapi://%2Fsome%2Fpath
ldaps://ldap.example.com:636
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein