文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>rh9和rhel as 3的kerberos配置中遇到的问题

rh9和rhel as 3的kerberos配置中遇到的问题

时间:2006-06-21  来源:gxing

rh9内置kerberos 1.2.7 参考
Kerberos: The Definitive Guide
配置了一下

$ kdb5_util create -s

$ kadmin.local
addprinc gxing/admin

/etc/init.d/krb5kdc start

这些过程都没有问题

$ kinit

总是报:

Cannot find KDC for requested realm while getting initial credentials

google了半天,都说的都不得要领

最后从Kerberos: The Definitive Guide 有如下一段话: Ensure that local systems' /etc/hosts file, if used, map the hostname to a valid IP address

Some systems install an /etc/hosts file with an entry such as this:

127.0.0.1 bigserver.wedgie.org bigserver

This line, which maps the system's hostname to the loopback interface, will most likely cause problems at some point. You should ensure that if an /etc/hosts file is used, that all machine names point to real, network-accessible IP addresses. For example, if bigserver.wedgie.org's IP address is 192.168.1.1, then the /etc/hosts file should contain the following entries:

127.0.0.1 localhost bigserver 192.168.1.1 bigserver.wedgie.org bigserver
我的hosts中就算有上述的异常情况,改动后一切正常。
注 RHEL AS3中遇到了同样的问题。
 
相关阅读 更多 +
排行榜 更多 +
飞艇大战

飞艇大战

飞行射击 下载
三维空间战斗机

三维空间战斗机

飞行射击 下载
战斗机教练

战斗机教练

飞行射击 下载