]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ldap: We also need to load the new policy schema
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 20 May 2023 18:40:22 +0000 (14:40 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 20 May 2023 18:40:22 +0000 (14:40 -0400)
doc/antora/modules/howto/pages/modules/ldap/bootstrap_openldap/docker.adoc
scripts/ci/ldap/slapd.conf
scripts/ci/ldap/slapd2.conf

index 9620bf77ce76965619afc86a3a42eee897e25edc..173ef7ef6ff6e3ab70cfbdf15d4edbcbade65302 100644 (file)
@@ -48,7 +48,8 @@ docker run -it --rm -p 389:389 \
        --env LDAP_ADMIN_PASSWORD=${LDAP_ADMIN_PASSWORD} \
        --env LDAP_READONLY_USER=true \
        --env LDAP_READONLY_USER_PASSWORD=${LDAP_READONLY_PASSWORD} \
-       --volume "${FREERADIUS_SRC}/doc/schemas/ldap/openldap/freeradius-radius.schema:/container/service/slapd/assets/config/bootstrap/schema/mmc/radius.schema:ro" \
+       --volume "${FREERADIUS_SRC}/doc/schemas/ldap/openldap/freeradius-policy.schema:/container/service/slapd/assets/config/bootstrap/schema/mmc/freeradius-policy.schema:ro" \
+       --volume "${FREERADIUS_SRC}/doc/schemas/ldap/openldap/freeradius-radius.schema:/container/service/slapd/assets/config/bootstrap/schema/mmc/freeradius-radius.schema:ro" \
        --volume "${FREERADIUS_SRC}/doc/schemas/ldap/openldap/freeradius-clients.schema:/container/service/slapd/assets/config/bootstrap/schema/mmc/freeradius-clients.schema:ro" \
        osixia/openldap:1.2.5 --copy-service
 ----
index 6bef4ff784f58a7f58b318fbfb772f8ce15c817f..14ee54eeb0e98eb6267689a3fc89adbd6ef0646d 100644 (file)
@@ -10,6 +10,7 @@ include         /tmp/ldap/schema/core.schema
 include         /tmp/ldap/schema/cosine.schema
 include         /tmp/ldap/schema/inetorgperson.schema
 include         /tmp/ldap/schema/nis.schema
+include         doc/schemas/ldap/openldap/freeradius-policy.schema
 include         doc/schemas/ldap/openldap/freeradius-radius.schema
 include         doc/schemas/ldap/openldap/freeradius-clients.schema
 pidfile /tmp/slapd.pid
index f6b9184718c3586e20bb90feec6825579cb280a9..9733c2e6f09078ffda8b57ed4cf5c0d40d64cc3b 100644 (file)
@@ -10,6 +10,7 @@ include         /tmp/ldap2/schema/core.schema
 include         /tmp/ldap2/schema/cosine.schema
 include         /tmp/ldap2/schema/inetorgperson.schema
 include         /tmp/ldap2/schema/nis.schema
+include         doc/schemas/ldap/openldap/freeradius-policy.schema
 include         doc/schemas/ldap/openldap/freeradius-radius.schema
 include         doc/schemas/ldap/openldap/freeradius-clients.schema
 pidfile /tmp/slapd2.pid