| 段誉 回复于:2005-06-12 00:42:22
|
我倒,倒是简略,不过确实有借鉴的意义。
|
| yoky 回复于:2005-06-26 10:53:45
|
楼主,这也太简单了吧,把我整的一头雾水的,本来想做我也不敢做了,比如说ldap的验证问题,squid和ldap连接那里怎么没有ldap的密码?
|
| achaoge 回复于:2005-06-28 21:03:00
|
如果ldap是需要验证的才能查询的话,这个squid的ldap验证模块就没有用了。
设计的时候可能没想这么复杂,yoky可以查看下源码。
|
| bigdng 回复于:2005-07-03 22:58:35
|
auth_param basic program /usr/lib/squid/squid_ldap_auth -D "cn=user,dc=xxx,dc=com" -w "***" -b "ou=Users,dc=xxx,dc=com" -f "&(cn=user)(property=###)" #xxx为LDAP中的dc名。***是user的密码. ###是ldap的用户user的property属性值--过滤条件!
acl authuser proxy_auth REQUIRED
http_access allow authuser
|