mirror of
https://github.com/luzifer-docker/openldap.git
synced 2024-12-20 20:51:17 +00:00
Knut Ahlers
76a510a888
to be autoconfiguring on alpine linux using the bootstrap mechanisms used by dinkel/docker-openldap combined with own work Signed-off-by: Knut Ahlers <knut@ahlers.me>
35 lines
879 B
Text
35 lines
879 B
Text
# --- Global config
|
|
|
|
dn: cn=config
|
|
objectClass: olcGlobal
|
|
cn: config
|
|
olcPidFile: /run/openldap/slapd.pid
|
|
olcArgsFile: /run/openldap/slapd.args
|
|
|
|
dn: cn=module,cn=config
|
|
objectClass: olcModuleList
|
|
cn: module
|
|
olcModulepath: /usr/lib/openldap
|
|
olcModuleload: back_mdb.so
|
|
|
|
dn: cn=schema,cn=config
|
|
objectClass: olcSchemaConfig
|
|
cn: schema
|
|
|
|
include: file:///etc/openldap/schema/core.ldif
|
|
|
|
dn: olcDatabase=frontend,cn=config
|
|
objectClass: olcDatabaseConfig
|
|
objectClass: olcFrontendConfig
|
|
olcDatabase: frontend
|
|
|
|
dn: olcDatabase=mdb,cn=config
|
|
objectClass: olcDatabaseConfig
|
|
objectClass: olcMdbConfig
|
|
olcDatabase: mdb
|
|
olcSuffix: {{ env `SLAPD_SUFFIX` `dc=example,dc=com` }}
|
|
olcRootDN: cn={{ env `SLAPD_ADMIN_USER` `admin` }},{{ env `SLAPD_SUFFIX` `dc=example,dc=com` }}
|
|
olcRootPW: {{ env `SLAPD_PASSWORD` `secret` }}
|
|
olcDbDirectory: /var/lib/openldap/openldap-data
|
|
olcDbIndex: objectClass eq
|
|
|