Re: [squid-users] Re: Testing squid_ldap_group

From: Henrik Nordstrom <[email protected]>
Date: Wed, 06 Sep 2006 09:58:56 +0200

tis 2006-09-05 klockan 21:27 -0700 skrev Zaki Akhmad:

> The filter I use, is matching the uid with userpassword. I am planning
> to match the uid with userCertificate. Then, how do I make the search
> filter?

I don't think you can use squid_ldap_group to match userCertificate, but
you can try...

usr/lib/squid/squid_ldap_auth -b "ou=paume,o=itb,c=id" -D
"cn=admin,ou=paume,o=itb,c=id" -w "rahaSIA" -h localhost -f '(&(uid=%
u)(userCertificate=%g))'

and then use whatever equates to the username in your setup followed by
%USER_CERT in the external_acl_type directive..

Regards
Henrik

Received on Wed Sep 06 2006 - 01:59:02 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT