htaccess 對 ldap & kerberos 認證設定範例

ldap example :

AuthType Basic
AuthName “internal area”
AuthBasicProvider ldap
AuthLDAPURL “ldaps://,dc=liho,dc=tw?uid”
Require valid-user

kerberos example :

AuthType Kerberos
AuthName “internal area”
KrbVerifyKDC Off
KrbMethodNegotiate Off
KrbAuthoritative On
KrbMethodK5Passwd On
KrbSaveCredentials Off
KrbAuthRealms LIHO.TW
#Krb5KeyTab /etc/xxxx/keytab
require valid-user

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.