From 4490dc9bfde0ac9288261e2a1ace3e79af16df3e Mon Sep 17 00:00:00 2001 From: TrinityBerserker Date: Mon, 26 Oct 2026 23:11:30 -0600 Subject: [PATCH 1/2] Fix: Ensure ldapEmailField is formatted as a JSON array --- core/files/configure_misp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/files/configure_misp.sh b/core/files/configure_misp.sh index 3d9c1c2a..a7b0c98f 100755 --- a/core/files/configure_misp.sh +++ b/core/files/configure_misp.sh @@ -220,7 +220,7 @@ set_up_apachesecureauth() { \"ldapDefaultRoleId\": ${APACHESECUREAUTH_LDAP_DEFAULT_ROLE_ID}, \"ldapDefaultOrg\": \"${APACHESECUREAUTH_LDAP_DEFAULT_ORG}\", \"ldapAllowReferrals\": ${APACHESECUREAUTH_LDAP_OPT_REFERRALS}, - \"ldapEmailField\": ${APACHESECUREAUTH_LDAP_EMAIL_FIELD} + \"ldapEmailField": [\"${LDAPAUTH_LDAPEMAILFIELD}\"], } }" > /dev/null From 9f262928152667e9ec2c8883ddcaae02b5fad5f6 Mon Sep 17 00:00:00 2001 From: TrinityBerserker Date: Tue, 27 Oct 2026 03:06:23 -0600 Subject: [PATCH 2/2] Fix: Use correct env var and escape ldapEmailField JSON key --- core/files/configure_misp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/files/configure_misp.sh b/core/files/configure_misp.sh index a7b0c98f..d7de7b74 100755 --- a/core/files/configure_misp.sh +++ b/core/files/configure_misp.sh @@ -220,7 +220,7 @@ set_up_apachesecureauth() { \"ldapDefaultRoleId\": ${APACHESECUREAUTH_LDAP_DEFAULT_ROLE_ID}, \"ldapDefaultOrg\": \"${APACHESECUREAUTH_LDAP_DEFAULT_ORG}\", \"ldapAllowReferrals\": ${APACHESECUREAUTH_LDAP_OPT_REFERRALS}, - \"ldapEmailField": [\"${LDAPAUTH_LDAPEMAILFIELD}\"], + \"ldapEmailField\": [\"${APACHESECUREAUTH_LDAP_EMAIL_FIELD}\"], } }" > /dev/null