serveur_openldap : TLS via step_ca + organisation en intrant (code prod)

- TLS LDAPS/STARTTLS : pont du cert step_ca (client_pki, root:root 600)
  vers /etc/ldap/tls lisible par openldap ; script + unité path systemd
  qui re-synchronise et recharge slapd au renouvellement ; olcTLS* dans
  cn=config ; SLAPD_SERVICES expose ldaps://. Dégrade proprement sans cert.
- Organisation : intrant chezlepro_organisation (remplace « Exemple Inc »).

Validé statiquement (ansible-lint, syntax) ; déploiement réel à suivre.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Daniel Allaire 2026-07-02 07:27:43 -04:00
parent 1e2c323156
commit 1edd205d13
8 changed files with 164 additions and 1 deletions

View file

@ -79,6 +79,7 @@ FICHIERS_INTRANTS = {"identite": INTRANTS_IDENTITE, "proxmox": INTRANTS_PROXMOX}
INTRANTS_SCHEMA = [
("domaine_interne", "identite", "constante", "Identité", "Domaine DNS interne", "str"),
("chezlepro_timezone", "identite", "defaut", "Identité", "Fuseau horaire", "str"),
("chezlepro_organisation", "identite", "defaut", "Identité", "Organisation (annuaire LDAP, certificats)", "str"),
("proxmox_api_host", "proxmox", "constante", "Proxmox", "Hôte API Proxmox", "str"),
("proxmox_api_user", "proxmox", "constante", "Proxmox", "Utilisateur API", "str"),
("proxmox_api_port", "proxmox", "constante", "Proxmox", "Port API", "str"),