[size=medium]
1、安装kerberos所需要的包
sudo apt-get install krb5-user
2、备份kerberos配置文件
sudo cp /etc/krb5.conf /etc/krb5_back.conf
3、配置kerberos
修改/etc/krb5.conf,满足自己的需要
4、配置例子(修改EXAMPLE.COM、example.com等信息)
[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 = ukdc.example.com
admin_server = ukdc.example.com
}
[domain_realm]
.example.com = EXAMPLE.COM
example.com = EXAMPLE.COM
[/size]
1、安装kerberos所需要的包
sudo apt-get install krb5-user
2、备份kerberos配置文件
sudo cp /etc/krb5.conf /etc/krb5_back.conf
3、配置kerberos
修改/etc/krb5.conf,满足自己的需要
4、配置例子(修改EXAMPLE.COM、example.com等信息)
[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 = ukdc.example.com
admin_server = ukdc.example.com
}
[domain_realm]
.example.com = EXAMPLE.COM
example.com = EXAMPLE.COM
[/size]