[squid-users] squid_ldap_group - doubt

From: Luis Claudio Botelho - Chefe de Tecnologia e Redes <lbotelho@dont-contact.us>
Date: Wed, 20 Feb 2008 13:42:15 -0300

Hi,

I'm trying to test squid_ldap_group.
The scenario is:
====================================================================
dn: CN=lbotelho,OU=Funcionarios,OU=Usuarios,DC=FEINET,DC=FEI,DC=EDU,DC=BR
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: lbotelho
memberOf: CN=funcionarios,CN=Users,DC=FEINET,DC=FEI,DC=EDU,DC=BR
memberOf: CN=Rede,OU=Funcionarios,OU=Usuarios,DC=FEINET,DC=FEI,DC=EDU,DC=BR
memberOf: CN=Domain Admins,CN=Users,DC=FEINET,DC=FEI,DC=EDU,DC=BR
name: lbotelho
sAMAccountName: lbotelho
====================================================================
I got these results through ldapsearch command.

But when I try to run squid_ldap_group, I received an ERR.
Here is the syntax:

====================================================================
./squid_ldap_group -d -P -b "dc=feinet,dc=fei,dc=edu,dc=br" -v 3 -D
"cn=proxy_user,ou=funcionarios,ou=usuarios,dc=feinet,dc=fei,dc=edu,dc=br" -w
"123456" -f"(&(uid=%v)(member=%g))" -h 172.16.0.13
====================================================================
After the command above, I entered with

============
lbotelho Rede
============

And the result is
====================================================================
Connected OK
group filter '(&(uid=lbotelho)(member=Rede))', searchbase
'dc=feinet,dc=fei,dc=edu,dc=br'
ERR
====================================================================

I tried a lot of other informations (searching in www.squid-cache.org), but
it didn't work. To sum up, I know that I'm doing something wrong, but I
don't know how to solve this.

If someone have something that can help, it would be very nice.

Thanks a lot!

________________________________
Luis Claudio Botelho
Chefe de Tecnologia e Redes
Coordenadoria Geral de Informática
Centro Universitário da FEI
São Bernardo do Campo - SP
4353-2900 ramal 2117

"The great secret of life is to spend it in something that endures more than
itself"
"In the box was written: Windows NT, 2000 or better. So I installed Linux"
"Knowing is not enough, we must apply. Willing is not enough, we must do."
Received on Wed Feb 20 2008 - 09:42:26 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST