dovecot and ldap

Nikolai Lusan nikolai at lusan.id.au
Fri Nov 1 08:48:16 EET 2019


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

On Thu, 2019-10-31 at 22:07 +0100, Maciej Milaszewski IQ PL via dovecot
wrote:
> I use dovecot+ldap

So do I. It works well.

> How realy works (in dovecot-2.2.x ) lists of LDAP hosts to use ?
> 
> ------ dovecot.conf ----
> 
> hosts = ldap.domain.pl:389 ldap-slave.domain.pl:389
> #uris =
> 
> --------
> 
> This is simpe HA ? I mean if ldap.domain.pl have problem another request
> go to ldap-slave.domain.pl ?


- From https://doc.dovecot.org/configuration_manual/authentication/ldap/ :

'If multiple LDAP servers are specified, it’s decided by the LDAP library
how the server connections are handled. Typically the first working server
is used, and it’s never disconnected from. So there is no load balancing or
automatic reconnecting to the “primary” server.'

So if you want/need HA it's up to you. :)

- -- 
Nikolai Lusan <nikolai at lusan.id.au>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEVfd4GW6z4nsBxdLo4ZaDRV2VL6QFAl271TAACgkQ4ZaDRV2V
L6T5HQ//T8DeWSpQSJ1RlrZyJr10pV1nE1aWZRr81jdOTyYy7xF+tnJmArotyqlk
9eoHsHdy2KcQeatDg8c4sA6Iad3/Iz5h1HCrRDt+jWXNtRIhn6GH0HU88umkpPIP
N1Y7eVH+WAWNC+z7DmXMvvR8zTIXccrbP8Fu6CGJo/IGnh9+dcN/oX178rTYCJIB
noCdkqSrb/HrnhViWMNZFlkYfwPx7SxE/NFKAla567DK7hKieUB/rKntONRpz2lb
xpcLC9pW0AS/OuqzP0bpdXhDjo0E8qeu0SWpHpjKFMsTNXTcdp3hiaJgdi3jXthq
gqTdDJrpt2hfPdokUfoFAWPrCXPdtMNIePn/2ZH0LqYfopaH0sG7EbPXAR9BCrtN
+23y0UtZxPqwYRuMfBj0cXMNmtkB900/g0NThsEQz8FbcWtOEx928p5f///PgLW7
eTs23HBTW+f6Nl5BFhBa++wx6gwf6DwNb96KhI4Jgq7i5jHKoTt+IoeNLBl5C1vP
rti69DaJIn8JVkc93S7pFStodT8jzIHRS1GVz221XnRivgLsrTMXy+J2/AFtWQUu
qolaWcpJL68/a1RlkHxQqa3UJsc4qV0Qu/Mnw/aee3Q2qWo0W+9nJEBMxwqVkkBr
pPiZ0OW4aj58EMTC4OoQp/2toZX4MNICnmsVhmjdBShmKsfM6YA=
=18zA
-----END PGP SIGNATURE-----



More information about the dovecot mailing list