技術討論區 > LDAP 討論區
[筆記報告] Proxy 使用LDAP系統作認證服務!
showp:
日京三子大大:我用您的設定,但是瀏覽器設定完後,出現輸入帳號密碼,我輸入了LDAP的帳號密碼,卻出現了以下問題
--- 代碼: ---
ERROR
Cache Access Denied
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.google.com.tw/
The following error was encountered:
Cache Access Denied.
Sorry, you are not currently allowed to request:
http://www.google.com.tw/from this cache until you have authenticated yourself.
You need to use Netscape version 2.0 or greater, or Microsoft Internet Explorer 3.0, or an HTTP/1.1 compliant browser for this to work. Please contact the cache administrator if you have difficulties authenticating yourself or change your default password.
--- 程式碼結尾 ---
以下是我的squid.conf
--- 代碼: ---
http_port 3128
maximum_object_size 5120 KB
acl QUERY urlpath_regex cgi-bin \? \.php \.asp \.cgi
cache_mem 32 MB
cache_dir ufs /usr/local/squid/cache 2048 16 256
cache_log /usr/local/squid/logs/cache.log
cache_access_log /usr/local/squid/logs/access.log
cache_store_log /usr/local/squid/logs/store.log
acl all src 0.0.0.0/0.0.0.0
auth_param basic program /usr/local/libexec/squid/pam_auth
acl PASSWORD proxy_auth REQUIRED
http_access allow PASSWORD
--- 程式碼結尾 ---
在log檔有看到我輸入帳號的那筆記錄:
--- 代碼: ---
1190442944.611 1 140.127.149.4 TCP_DENIED/407 1751 GET http://www.google.com.tw/ admin NONE/- text/html
--- 程式碼結尾 ---
apage:
若能支援反向proxy 就更實用了 XD
導覽
[0] 文章列表
[*] 上頁
前往完整版本