From 88bbd585fde8ac0741d36c13881c221f97618c60 Mon Sep 17 00:00:00 2001 From: Bernd Worsch Date: Wed, 25 Mar 2026 02:03:38 +0000 Subject: [PATCH] =?UTF-8?q?fix(privacyidea):=20rename=20realm=20netkingdom?= =?UTF-8?q?=20=E2=86=92=20coulomb=20in=20bootstrap-realm.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- sso-mfa/k8s/privacyidea/bootstrap-realm.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sso-mfa/k8s/privacyidea/bootstrap-realm.sh b/sso-mfa/k8s/privacyidea/bootstrap-realm.sh index 820acd0..6e493f5 100755 --- a/sso-mfa/k8s/privacyidea/bootstrap-realm.sh +++ b/sso-mfa/k8s/privacyidea/bootstrap-realm.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash -# bootstrap-realm.sh — configure the "netkingdom" realm in privacyIDEA +# bootstrap-realm.sh — configure the "coulomb" realm in privacyIDEA # # Run AFTER bootstrap-admin.sh (pi-admin must exist and have MFA enrolled). # # What it does: # 1. Authenticates as pi-admin to get a short-lived JWT. -# 2. Creates the LDAP resolver "lldap-netkingdom" pointing to the in-cluster LLDAP. -# 3. Creates (or updates) the "netkingdom" realm using that resolver. +# 2. Creates the LDAP resolver "lldap-coulomb" pointing to the in-cluster LLDAP. +# 3. Creates (or updates) the "coulomb" realm using that resolver. # 4. Creates a self-enrollment policy: any authenticated user may enroll TOTP. # 5. Prints a checklist of manual steps to complete via the WebUI. # @@ -30,8 +30,8 @@ PI_URL="${2:-https://pink.coulomb.social}" PI_ENV="$SECRETS_DIR/privacyidea/secrets.env" LLDAP_ENV="$SECRETS_DIR/lldap/secrets.env" -RESOLVER_NAME="lldap-netkingdom" -REALM_NAME="netkingdom" +RESOLVER_NAME="lldap-coulomb" +REALM_NAME="coulomb" LLDAP_URL="ldap://lldap.sso.svc.cluster.local:3890" LLDAP_BASE_DN="dc=netkingdom,dc=local" LLDAP_BIND_DN="uid=admin,ou=people,dc=netkingdom,dc=local" @@ -217,7 +217,7 @@ check_result "Default realm set to '$REALM_NAME'" "$RESP" || true # ── 6. Create self-enrollment policy ───────────────────────────────────────── echo "" echo "Step 6: Creating self-enrollment policy ..." -# Allows users in the netkingdom realm to self-enroll TOTP tokens. +# Allows users in the coulomb realm to self-enroll TOTP tokens. # The WebUI self-service portal is at pink-account.coulomb.social. ENROLL_POLICY=$(python3 -c " import json