https://www.zybuluo.com/xtccc/note/176298
在安装好kerberos的软件之后,会用到几个配置文件,例如
/etc/krb5.conf
/var/kerberos/krb5kdc/kdc.conf
/etc/krb5.conf
可以用命令man krb5.conf
来查看关于该配置文件的说明
先看一下该文件的模板:
[logging]
default = file:/var/log/krb5libs.log
kdc = file:/var/log/krb5kdc.log
admin_server = file:/var/log/kadmind.log
[libdefaults]
default_realm = example.com
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
[realms]
example.com = {
kdc = example.com
admin_server = example.com
}
[domain_realm]
.example.com = example.com
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 阅读(595)
评论(0) 编辑 收藏