[squid-users] squid ldap_auth problem,confused!

From: Batuhan Dayıoğlugil <batuhan_at_dayioglugil.com>
Date: Mon, 28 Jul 2008 23:45:28 +0300

Hi,

i am setting up an proxy server at my university for
library accessfrom outside of university as a project.i
confiugured a proxy server (squid 2.6.STABLE14) on a
machine (with ubuntu gutsy 7.10).From my home i can use my
proxy server very well (cache,acl...).the second thing
that i want to do is to reach the ldap server in
university for authentication.

here is the on of the output about the subtree of
ldapserver

bim_at_bimproxy:~$ ldapsearch -x -b dc=gsu,dc=edu -h
proxyserver uid=myusername
# extended LDIF
#
# LDAPv3
# base <dc=gsu,dc=edu> with scope subtree
# filter: uid=myusername
# requesting: ALL
#

# search reference
ref: ldap://gsu.edu/CN=Configuration,DC=gsu,DC=edu

# search result
search: 2
result: 0 Success

# numResponses: 2
# numReferences: 1

by the command

  ldapsearch -x -b dc=gsu,dc=edu -h ldap_server -p 389

i can see all the computers connected to university
netxortk and their dn.

here is my problem:before making changes in squid.conf i
want to control if my proxy can check the usernames and
passwords of the users from ldap server,to do this i used
the code :

/usr/lib/squid/ldap_auth -ZZ -b "dc=gsu,dc=edu" ldap

after i type my username and my password i got :

Could not Activate TLS connection

and without -ZZ option i got :

ERR Success

another one is
/usr/lib/squid/ldap_auth -R -b "dc=gsu,dc=edu" -D
"CN=MicrosoftDNS,CN=System,DC=gsu,DC=edu" -f "uid=%s" -h
ldap_server
myusername password
ERR Success

i googled this subject and tried a lot of combinations of
dn and whole command but no result.

anyhelp would be great.
Received on Mon Jul 28 2008 - 20:43:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 29 2008 - 12:00:04 MDT