Kevin Veen-Birkenbach
eb781dbf8b
fix(keycloak/ldap): make userObjectClasses JSON-safe and exclude posixAccount
...
- Render userObjectClasses via `tojson` (and trim) to avoid invalid control
characters and ensure valid realm import parsing.
- Introduce KEYCLOAK_LDAP_USER_OBJECT_CLASSES in vars; exclude `posixAccount`
for Keycloak’s LDAP config while keeping it for Ansible-managed UNIX users.
- Update UserStorageProvider template to use the new variable.
Rationale:
Keycloak must not require `posixAccount` on every LDAP user. We keep
`posixAccount` structural for Ansible provisioning, but filter it out for
Keycloak to prevent sync/import errors on entries without POSIX attributes.
Touched:
- roles/web-app-keycloak/templates/import/components/org.keycloak.storage.UserStorageProvider.json.j2
- roles/web-app-keycloak/vars/main.yml
Refs: conversation https://chatgpt.com/share/68aa1ef0-3658-800f-bdf4-5b57131d03b4
2025-08-23 22:05:26 +02:00
..
2025-08-14 14:39:18 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 08:54:17 +02:00
2025-08-18 13:35:43 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 17:51:17 +02:00
2025-08-15 17:59:09 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-19 19:02:52 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 15:56:32 +02:00
2025-08-20 08:54:17 +02:00
2025-08-19 19:06:58 +02:00
2025-08-21 21:04:21 +02:00
2025-08-15 21:35:45 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 19:00:03 +02:00
2025-08-14 14:39:18 +02:00
2025-08-18 22:24:33 +02:00
2025-08-18 21:22:16 +02:00
2025-08-19 15:00:44 +02:00
2025-08-19 15:00:44 +02:00
2025-08-19 21:50:55 +02:00
2025-08-18 13:35:43 +02:00
2025-08-19 19:02:52 +02:00
2025-08-18 13:35:43 +02:00
2025-08-18 13:35:43 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 01:20:06 +02:00
2025-08-20 15:17:04 +02:00
2025-08-20 15:17:04 +02:00
2025-08-21 21:04:21 +02:00
2025-08-22 14:48:50 +02:00
2025-08-19 15:00:44 +02:00
2025-08-19 15:00:44 +02:00
2025-08-21 18:43:17 +02:00
2025-08-22 09:23:40 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 04:46:27 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 05:02:16 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 05:02:16 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 04:12:42 +02:00
2025-08-22 14:48:50 +02:00
2025-08-20 04:12:42 +02:00
2025-08-20 15:17:04 +02:00
2025-08-19 19:02:52 +02:00
2025-08-19 19:02:52 +02:00
2025-08-14 14:39:18 +02:00
2025-08-18 23:54:23 +02:00
2025-08-14 14:39:18 +02:00
2025-08-22 14:48:50 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-14 14:39:18 +02:00
2025-08-16 21:43:01 +02:00
2025-08-20 08:54:17 +02:00
2025-08-18 21:22:16 +02:00
2025-08-22 14:48:50 +02:00
2025-08-18 13:35:43 +02:00
2025-08-19 20:50:08 +02:00
2025-08-14 14:39:18 +02:00
2025-08-19 19:02:52 +02:00
2025-08-19 15:00:44 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 06:07:33 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-19 19:02:52 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 05:49:35 +02:00
2025-08-23 19:21:07 +02:00
2025-08-20 08:54:17 +02:00
2025-08-14 14:39:18 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 08:54:17 +02:00
2025-08-22 16:01:48 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-23 22:05:26 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-21 09:49:36 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 15:35:08 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 05:49:35 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 01:01:32 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 15:56:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 01:01:32 +02:00
2025-08-14 14:39:18 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 01:01:32 +02:00
2025-08-14 14:39:18 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 17:51:17 +02:00
2025-08-21 16:27:10 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 01:01:32 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 08:54:17 +02:00
2025-08-21 16:48:37 +02:00
2025-08-20 05:00:24 +02:00
2025-08-20 08:54:17 +02:00
2025-08-20 08:54:17 +02:00
2025-08-15 15:15:48 +02:00
2025-08-20 05:00:24 +02:00
2025-08-20 01:02:29 +02:00
2025-08-20 01:02:29 +02:00
2025-08-20 05:00:24 +02:00
2025-07-04 08:03:27 +02:00
2025-03-20 17:00:07 +01:00
2025-08-18 21:22:16 +02:00
2025-07-10 15:36:40 +02:00
2025-07-12 17:52:36 +02:00
2025-07-29 16:35:42 +02:00