Я установил Kerberos на Ubuntu 18 с sudo apt install krb5-kdc krb5-admin-server
Но, когда я запустил systemctl status krb5-kdc.service
, получается:
Feb 17 21:25:23 device2 krb5kdc[8675]: Cannot open DB2 database '/var/lib/krb5kdc/principal': No such file or directory - while initializing database for realm DENNIS.COM
Feb 17 21:25:23 device2 krb5kdc[8675]: krb5kdc: cannot initialize realm DENNIS.COM - see log file for details
Feb 17 21:25:23 device2 systemd[1]: krb5-kdc.service: Control process exited, code=exited status=1
Feb 17 21:25:23 device2 systemd[1]: krb5-kdc.service: Failed with result 'exit-code'.
Feb 17 21:25:23 device2 systemd[1]: Failed to start Kerberos 5 Key Distribution Center.
Я установил область с kdb5_util create -r DENNIS.COM -s
[realms]
DENNIS.COM = {
kdc = device2
admin_server = device2
}