我正在Debian stretch上设置Apache2 2.4.25。我的conf包含以下几行:
AuthType Kerberos
Krb5Keytab /etc/apache2/auth_kerb.keytab
KrbVerifyKDC off
当我重新启动Apache时,我得到这个错误:
Invalid command 'Krb5Keytab', perhaps misspelled or defined by a module not included in the server configuration
如何启用必要的kerberos模块?
发布于 2019-02-12 21:34:31
您是否安装了libapache2-mod-auth-kerb
包?如果不是,我想可能就是这么简单。
我在一个干净的Debian stretch box上安装了apache2,并将您的示例配置添加到我的默认Directory
中。我得到了同样的错误:
apachectl[9682]: Invalid command 'Krb5Keytab', perhaps misspelled or defined by a module not included in the server configuration
一旦我做了apt-get install libapache2-mod-auth-kerb
,apache就成功地启动了,一切都很好。
https://stackoverflow.com/questions/54606245
复制相似问题