Re: [squid-users] LDAP related question.

2015-08-06 Thread Eliezer Croitoru
I also now found that the example for ldap search in squidguard is similar to my conclusion. http://www.squidguard.org/Doc/authentication.html ##START ldapbinddn cn=root, dc=example, dc=com ldapbindpass myultrasecretpassword # ldap cache time in seconds ldapcachetime 300 src my_user

Re: [squid-users] LDAP related question.

2015-07-31 Thread Brendan Kearney
On 07/31/2015 08:34 AM, Dan Purgert wrote: Quoting Eliezer Croitoru : I managed to make it work! I am using ubuntu 14.04.2 with openLDAP and phpldapadmin. I have changed my server to look like yours and it still didn't work. So what I did was this: I changed the command to: /usr/lib/squid3/ext_

Re: [squid-users] LDAP related question.

2015-07-31 Thread brendan kearney
Not near my gear and notes, but will get you what I have later. On Jul 31, 2015 10:31 AM, "Eliezer Croitoru" wrote: > On 31/07/2015 15:37, brendan kearney wrote: > >> Pretty sure memberOf is an overlay you have to enable in openldap >> > > I have tried to use this: > > http://www.schenkels.nl/201

Re: [squid-users] LDAP related question.

2015-07-31 Thread Eliezer Croitoru
On 31/07/2015 15:37, brendan kearney wrote: Pretty sure memberOf is an overlay you have to enable in openldap I have tried to use this: http://www.schenkels.nl/2013/03/how-to-setup-openldap-with-memberof-overlay-ubuntu-12-04/ But it doesn't mention that you need to put the file in the scheme

Re: [squid-users] LDAP related question.

2015-07-31 Thread brendan kearney
Pretty sure memberOf is an overlay you have to enable in openldap On Jul 31, 2015 8:34 AM, "Dan Purgert" wrote: Quoting Eliezer Croitoru : I managed to make it work! > I am using ubuntu 14.04.2 with openLDAP and phpldapadmin. > I have changed my server to look like yours and it still didn't work

Re: [squid-users] LDAP related question.

2015-07-31 Thread Dan Purgert
Quoting Eliezer Croitoru : I managed to make it work! I am using ubuntu 14.04.2 with openLDAP and phpldapadmin. I have changed my server to look like yours and it still didn't work. So what I did was this: I changed the command to: /usr/lib/squid3/ext_ldap_group_acl -d -b "dc=ngtech,dc=local" -D

Re: [squid-users] LDAP related question.

2015-07-31 Thread Eliezer Croitoru
I managed to make it work! I am using ubuntu 14.04.2 with openLDAP and phpldapadmin. I have changed my server to look like yours and it still didn't work. So what I did was this: I changed the command to: /usr/lib/squid3/ext_ldap_group_acl -d -b "dc=ngtech,dc=local" -D "cn=admin,dc=ngtech,dc=loca

Re: [squid-users] LDAP related question.

2015-07-31 Thread Dan Purgert
Quoting Eliezer Croitoru : I wanted to test the ext_ldap_group_acl so I created a ldap domain. The command I am testing is: /usr/lib/squid3/ext_ldap_group_acl -b "DC=ngtech,DC=local" -D "CN=admin,DC=ngtech,DC=local" -w "password" -f "(&(objectclass=person)(sAMAccountName=%v)(memberof=CN=%a,D

Re: [squid-users] LDAP related question.

2015-07-31 Thread Othmar Truniger
Regarding your filter: - I think it should be %u instead of %v for user - never heard of %a, usage says %v, man page says %g for group ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users

[squid-users] LDAP related question.

2015-07-30 Thread Eliezer Croitoru
I wanted to test the ext_ldap_group_acl so I created a ldap domain. The command I am testing is: /usr/lib/squid3/ext_ldap_group_acl -b "DC=ngtech,DC=local" -D "CN=admin,DC=ngtech,DC=local" -w "password" -f "(&(objectclass=person)(sAMAccountName=%v)(memberof=CN=%a,DC=ngtech,DC=local))" -h 127.0.