slapd: make compatiable with Debian 12
This commit is contained in:
parent
6bf772b761
commit
58c875c4dc
@ -3,4 +3,5 @@
|
||||
radius_hostname: radius3.binary.kitchen
|
||||
|
||||
slapd_hostname: ldap3.binary.kitchen
|
||||
slapd_replica_id: 3
|
||||
slapd_role: slave
|
||||
|
@ -3,4 +3,5 @@
|
||||
radius_hostname: radius2.binary.kitchen
|
||||
|
||||
slapd_hostname: ldap2.binary.kitchen
|
||||
slapd_replica_id: 2
|
||||
slapd_role: slave
|
||||
|
@ -13,4 +13,5 @@ ntp_peers:
|
||||
radius_hostname: radius1.binary.kitchen
|
||||
|
||||
slapd_hostname: ldap1.binary.kitchen
|
||||
slapd_replica_id: 1
|
||||
slapd_role: slave
|
||||
|
@ -30,7 +30,7 @@ loglevel sync
|
||||
|
||||
# Load dynamic backend modules:
|
||||
modulepath /usr/lib/ldap
|
||||
moduleload back_hdb.la
|
||||
moduleload back_mdb.la
|
||||
{% if slapd_role == 'master' %}
|
||||
moduleload syncprov.la
|
||||
{% endif %}
|
||||
@ -97,10 +97,10 @@ TLSVerifyClient never
|
||||
|
||||
|
||||
#######################################################################
|
||||
# BDB database definitions
|
||||
# MDB database definitions
|
||||
#######################################################################
|
||||
|
||||
database hdb
|
||||
database mdb
|
||||
suffix "{{ ldap_base }}"
|
||||
# <kbyte> <min>
|
||||
checkpoint 32 30
|
||||
@ -157,7 +157,7 @@ smbk5pwd-must-change 0
|
||||
# Replication Consumer
|
||||
#######################################################################
|
||||
|
||||
syncrepl rid=1
|
||||
syncrepl rid={{ slapd_replica_id }}
|
||||
provider="ldaps://ldapm.binary.kitchen"
|
||||
searchbase="{{ ldap_base }}"
|
||||
type=refreshAndPersist
|
||||
|
Loading…
Reference in New Issue
Block a user