Estou seguindo este guia para configurar o Kerberos com o LDAP. Eu segui todos os passos. Mas quando estou executando o kadmin.local, ele sai com o seguinte erro:
Authenticating as principal root/[email protected] with password.
kadmin.local: Cannot bind to LDAP server 'ldaps://' as 'cn=admin,dc=example,dc=com': Can't contact LDAP server while initializing kadmin.local interface
-- 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'.
Tags security kerberos mitkerberos