[問題] squid用pam做認證

看板FreeBSD作者 (不敗地球人)時間11年前 (2012/07/14 21:56), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
我的freebsd是8.2-RELEASE squid是squid-3.1.18 Squid對於來自外部使用的認證方式有很多 其中我安裝時有看到PAM的選項 Google查了一下資料我在 #vi /etc/pam.conf/squid auth required pam_unix.so try_first_pass #vi /usr/local/etc/squid/squid.conf 加入 auth_param basic program /usr/local/squid/libexec/pam_auth auth_param basic children 10 auth_param basic realm My Awesome Squid Cache auth_param basic credentialsttl 1 hour acl KnownUsers proxy_auth REQUIRED http_access allow KnownUsers #squid -k reconfigure cache.log都會出現 ERROR: failed to create PAM authenticator WARNING: failed to release PAM authenticator ERROR: failed to create PAM authenticator WARNING: failed to release PAM authenticator ERROR: failed to create PAM authenticator WARNING: failed to release PAM authenticator ERROR: Unexpected PAM converstaion '3/pam_unix: pam_sm_authenticate: UNIX authentication refused ERROR: Unexpected PAM converstaion '3/pam_unix: pam_sm_authenticate: UNIX authentication refused 有人知道pam_auth該怎麼正確使用嗎?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 112.105.93.212
文章代碼(AID): #1G0Ng4Jr (FreeBSD)