fix: update keytab path and environment variable instructions for OpenLDAP container

This commit is contained in:
2026-05-17 20:52:29 +02:00
parent c4c8b6f46a
commit c099f2b7d7
+2 -2
View File
@@ -298,6 +298,6 @@ Restart-Service sshd
kadmin.local -q "addprinc -randkey ldap/ldap.example.org@REALM" kadmin.local -q "addprinc -randkey ldap/ldap.example.org@REALM"
kadmin.local -q "ktadd -k /tmp/ldap.keytab ldap/ldap.example.org@REALM" kadmin.local -q "ktadd -k /tmp/ldap.keytab ldap/ldap.example.org@REALM"
``` ```
2. Copy the keytab into the OpenLDAP container at `/etc/ldap/ldap.keytab`. 2. Copy the keytab into the OpenLDAP container at `/etc/krb5.keytab`.
3. Set `KRB5_KTNAME=/etc/ldap/ldap.keytab` in the OpenLDAP container environment. 3. Set `KRB5_KTNAME` if you have chosen to use a non-default keytab location in the OpenLDAP container environment.
4. Install `libsasl2-modules-gssapi-mit` in the OpenLDAP image and enable the `GSSAPI` SASL mechanism. 4. Install `libsasl2-modules-gssapi-mit` in the OpenLDAP image and enable the `GSSAPI` SASL mechanism.