Centos7,鱿鱼 3.5。
Squid 在 /etc/squid/proxy.keytab 中找不到 keytab 文件。cache.log 有这个文本:
negotiate_kerberos_auth.cc(487): pid=10259 :2018/07/10 16:48:02| negotiate_kerberos_auth: INFO: Starting version 3.0.4sq
2018/07/10 16:48:02 kid1| Starting new negotiateauthenticator helpers...
2018/07/10 16:48:02 kid1| helperOpenServers: Starting 1/10 'negotiate_kerberos_auth' processes
negotiate_kerberos_auth.cc(546): pid=10258 :2018/07/10 16:48:02| negotiate_kerberos_auth: INFO: Setting keytab to FILE:/etc/krb5.keytab
negotiate_kerberos_auth.cc(75): pid=10258 :2018/07/10 16:48:02| negotiate_kerberos_auth: ERROR: krb5_kt_start_seq_get failed: Key table file '/etc/krb5.keytab' not found
2018/07/10 16:48:02| negotiate_kerberos_auth: ERROR: krb5_kt_start_seq_get: Key table file '/etc/krb5.keytab' not found
negotiate_kerberos_auth.cc(75): pid=10258 :2018/07/10 16:48:02| negotiate_kerberos_auth: ERROR: krb5_read_keytab failed: Key table file '/etc/krb5.keytab' not found
2018/07/10 16:48:02| negotiate_kerberos_auth: ERROR: krb5_read_keytab: Key table file '/etc/krb5.keytab' not found
negotiate_kerberos_auth.cc(556): pid=10258 :2018/07/10 16:48:02| negotiate_kerberos_auth: ERROR: Reading keytab FILE:/etc/krb5.keytab into list failed
IE。如何告诉 Squid 在那里寻找什么文件?当然,你可以在 /etc 中放一个文件,比如 krb5.keytab,但还是这样吗?谢谢你。