Apache:无效命令'Krb5Keytab'

问题描述 投票:0回答:1

我在Debian上设置了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模块?

apache kerberos
1个回答
1
投票

你有安装libapache2-mod-auth-kerb包吗?如果没有,我认为可能就这么简单。

我在一个干净的Debian拉伸框上安装了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开始成功,一切都很顺利。

© www.soinside.com 2019 - 2024. All rights reserved.