6.3. mod_auth_kerb の設定
Kerberos 認証を設定する場合、auth_kerb.conf ファイルで設定を指定して mod_auth_kerb を設定する必要があります。
前提条件
手順
-
JBCS_HOME/httpd/conf.d/ディレクトリーに移動します。 -
auth_kerb.confという名前のファイルを作成します。 次の設定の詳細を入力します。
# # The mod_auth_kerb module implements Kerberos authentication over HTTP, following the "Negotiate" protocol. # # The LoadModule statement is done in conf.d/10-auth_kerb.conf # LoadModule auth_kerb_module modules/mod_auth_kerb.so <Location /kerberostest> AuthType Kerberos AuthName "Kerberos Login" KrbMethodNegotiate On KrbMethodK5Passwd Off KrbAuthRealms EXAMPLE.COM KrbServiceName HTTP Krb5KeyTab $JBCS_HOME/httpd/krb5.keytab require valid-user </Location>
重要
環境変数は、設定ファイル内で拡張されません。前の例では、JBCS_HOME 変数を絶対パスに置き換えてください。