Я следую этому руководству по настройке Kerberos с LDAP. Я выполнил все шаги. Но когда я запускаю kadmin.local, он выходит со следующей ошибкой:
Аутентификация как основной root/admin@EXAMPLE.COM с паролем.
kadmin.local: невозможно выполнить привязку к серверу LDAP 'ldaps: //' as 'cn = admin, dc = example, dc = com': невозможно связаться с сервером LDAP при инициализации интерфейса kadmin.local
-- Subject: Unit krb5-kdc.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit krb5-kdc.service has begun starting up.
Jan 02 06:19:12 ubuntu-512mb-blr1-01 systemd[1]: Starting Kerberos 5 Key Distribution Center...
-- Subject: Unit krb5-kdc.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit krb5-kdc.service has begun starting up.
Jan 02 06:19:12 ubuntu-512mb-blr1-01 krb5kdc[17707]: Cannot bind to LDAP server 'ldaps://' as 'cn=admin,dc=example,dc=com': Can't contact LDAP server
Jan 02 06:19:12 ubuntu-512mb-blr1-01 krb5kdc[17707]: krb5kdc: cannot initialize realm EXAMPLE.COM - see log file for details
Jan 02 06:19:12 ubuntu-512mb-blr1-01 systemd[1]: krb5-kdc.service: Control process exited, code=exited status=1
Jan 02 06:19:12 ubuntu-512mb-blr1-01 sudo[17678]: pam_unix(sudo:session): session closed for user root
Jan 02 06:19:12 ubuntu-512mb-blr1-01 systemd[1]: Failed to start Kerberos 5 Key Distribution Center.
-- Subject: Unit krb5-kdc.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit krb5-kdc.service has failed.
--
-- The result is failed.
Jan 02 06:19:12 ubuntu-512mb-blr1-01 systemd[1]: krb5-kdc.service: Unit entered failed state.
Jan 02 06:19:12 ubuntu-512mb-blr1-01 systemd[1]: krb5-kdc.service: Failed with result 'exit-code'.