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# SSL configuration
17TLSCACertificateFile @TESTDIR@/tls/ca/certs/testsuiteCA.crt
18TLSCertificateKeyFile @TESTDIR@/tls/private/localhost.key
19TLSCertificateFile @TESTDIR@/tls/certs/localhost.crt
20TLSVerifyClient try
21
22# noop for standalone
23TLSShareSlapdCTX yes
24
25# allow big PDUs from anonymous (for testing purposes)
26sockbuf_max_incoming_client 4194303
27sockbuf_max_incoming_upstream 4194303
28
29feature proxyauthz
30
31bindconf
32    bindmethod=simple
33    binddn="cn=Manager,dc=example,dc=com"
34    credentials=secret
35    tls_cacert=@TESTDIR@/tls/ca/certs/testsuiteCA.crt
36
37backend-server uri=@URIP3@
38    starttls=critical
39    numconns=3
40    bindconns=3
41    retry=5000
42    max-pending-ops=20
43    conn-max-pending=3
44
45backend-server uri=@SURIP4@
46    numconns=3
47    bindconns=3
48    retry=5000
49    max-pending-ops=20
50    conn-max-pending=3
51
52backend-server uri=@URI5@
53    numconns=3
54    bindconns=3
55    retry=5000
56    max-pending-ops=20
57    conn-max-pending=3
58