Refactor user variable name from OPERNLDAP_USERS to OPENLDAP_USERS and add dynamic state handling for objectClass cleanup.

See conversation: https://chatgpt.com/share/692cab28-1ce0-800f-81da-712c8ea08e5c
This commit is contained in:
2025-11-30 21:38:16 +01:00
parent 0cb9b08e8f
commit 8008afe0de
3 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
{% for dn, entry in (applications | build_ldap_role_entries(OPERNLDAP_USERS, LDAP)).items() %}
{% for dn, entry in (applications | build_ldap_role_entries(OPENLDAP_USERS, LDAP)).items() %}
dn: {{ dn }}
{% for oc in entry.objectClass %}