[关闭]
@xtccc 2015-09-22T09:30:26.000000Z 字数 823 阅读 2505

Kerberos 配置

给我写信
Github

此处输入图片的描述

Kerberos


哪些配置文件?

在安装好Kerberos的软件之后,会用到几个配置文件,例如
+ /etc/krb5.conf
+ /var/kerberos/krb5kdc/kdc.conf



配置文件的说明

/etc/krb5.conf

可以用命令man krb5.conf来查看关于该配置文件的说明

先看一下该文件的模板:

  1. [logging]
  2. default = FILE:/var/log/krb5libs.log
  3. kdc = FILE:/var/log/krb5kdc.log
  4. admin_server = FILE:/var/log/kadmind.log
  5. [libdefaults]
  6. default_realm = EXAMPLE.COM
  7. dns_lookup_realm = false
  8. dns_lookup_kdc = false
  9. ticket_lifetime = 24h
  10. renew_lifetime = 7d
  11. forwardable = true
  12. [realms]
  13. EXAMPLE.COM = {
  14. kdc = example.com
  15. admin_server = example.com
  16. }
  17. [domain_realm]
  18. .example.com = EXAMPLE.COM
  19. example.com = EXAMPLE.COM



关于几个重要配置项的说明
+ [realms].kdc : the name of the host running a KDC for that realm.
+ [realms].admin_server : identifies the host where the administration server is running. Typically this is the Master Kerberos server.
+ [domain_realm] : provides a translation from a hostname to the Kerberos realm name for the service provided by that host.

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注