- 论坛徽章:
- 0
|
在squid.conf裏這樣寫到:
auth_param basic program /usr/local/squid/libexec/squid_ldap_auth -u uid=%s -b "dc=mygroup,dc=com" -h localhost -D "cn=Manager,dc=mygroup,dc=com" -w secret -v 3
然後 ps -ef | grep squid ,可以看到:
[root@sz-mail02 etc]# ps -ef | grep squid
root 22126 1 0 17:43 ? 00:00:00 ../sbin/squid
squid 22128 22126 1 17:43 ? 00:00:00 (squid)
squid 22129 22128 0 17:43 ? 00:00:00 (squid_ldap_auth) -u uid=%s -b dc=mygroup,dc=com -h localhost -D cn=Manag er,dc=mygroup,dc=com -w secret -v 3
squid 22130 22128 0 17:43 ? 00:00:00 (squid_ldap_auth) -u uid=%s -b dc=mygroup,dc=com -h localhost -D cn=Manag er,dc=mygroup,dc=com -w secret -v 3
squid 22131 22128 0 17:43 ? 00:00:00 (squid_ldap_auth) -u uid=%s -b dc=mygroup,dc=com -h localhost -D cn=Manag er,dc=mygroup,dc=com -w secret -v 3
squid 22132 22128 0 17:43 ? 00:00:00 (squid_ldap_auth) -u uid=%s -b dc=mygroup,dc=com -h localhost -D cn=Manag er,dc=mygroup,dc=com -w secret -v 3
squid 22133 22128 0 17:43 ? 00:00:00 (squid_ldap_auth) -u uid=%s -b dc=mygroup,dc=com -h localhost -D cn=Manag er,dc=mygroup,dc=com -w secret -v 3
squid 22134 22128 0 17:43 ? 00:00:00 (unlinkd)
root 22136 19512 0 17:43 pts/1 00:00:00 grep squid
在打開IE的時候,會跳出一個對話框,要求輸入用戶名及密碼。但是當我輸入用戶名及密碼時,卻無法通過認證。
[ 本帖最后由 lg8080 于 2006-12-26 17:46 编辑 ] |
|