posts - 495,comments - 227,trackbacks - 0
https://www.zybuluo.com/xtccc/note/176298

哪些配置文件?

在安装好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.

posted on 2016-07-05 11:37 SIMONE 阅读(643) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: