Search squid archive

squid ldap_auth problem,confused!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux