1# Load balancer config -- for testing
2# $OpenLDAP$
3## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4##
5## Copyright 1998-2021 The OpenLDAP Foundation.
6## All rights reserved.
7##
8## Redistribution and use in source and binary forms, with or without
9## modification, are permitted only as authorized by the OpenLDAP
10## Public License.
11##
12## A copy of this license is available in the file LICENSE in the
13## top-level directory of the distribution or, alternatively, at
14## <http://www.OpenLDAP.org/license.html>.
15
16# allow big PDUs from anonymous (for testing purposes)
17sockbuf_max_incoming_client 4194303
18sockbuf_max_incoming_upstream 4194303
19
20bindconf
21    bindmethod=simple
22    binddn="cn=Manager,dc=example,dc=com"
23    credentials=secret
24
25# incorrect password (DB is empty)
26backend-server uri=@URI2@
27    numconns=3
28    bindconns=2
29    retry=500
30    max-pending-ops=5
31    conn-max-pending=3
32
33# backend is often unresponsive
34backend-server uri=@URI3@
35    numconns=3
36    bindconns=2
37    retry=500
38    max-pending-ops=5
39    conn-max-pending=3
40
41# unreachable backend (not running)
42backend-server uri=@URI4@
43    numconns=3
44    bindconns=2
45    retry=500
46    max-pending-ops=5
47    conn-max-pending=3
48
49# backend that fails to resolve
50backend-server uri=ldap://does.not.resolve.example.com
51    numconns=3
52    bindconns=2
53    retry=500
54    max-pending-ops=5
55    conn-max-pending=3
56