Enhance Dockerfile and entrypoint script for Kerberos initialization

- Added krb5-admin-server and updated entrypoint to ensure proper initialization of the Kerberos realm.
- Improved error handling for required environment variables in entrypoint script.
- Updated README with additional prerequisites and client configuration instructions.
- Modified env.example to remove default passwords for security.
- Enhanced run-container script to set container hostname based on KDC_HOST.
This commit is contained in:
2026-05-16 12:37:35 +02:00
parent d03cc1c04b
commit 8f41727b7d
5 changed files with 159 additions and 31 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
KRB5_REALM=EXAMPLE.ORG
KRB5_DOMAIN=example.org
KRB5_KDC_HOST=kerberos.example.org
KRB5_MASTER_PASSWORD=changeit
KRB5_MASTER_PASSWORD=
KRB5_ADMIN_PRINCIPAL=admin
KRB5_ADMIN_PASSWORD=changeit
KRB5_ADMIN_PASSWORD=