Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-30-2010, 05:27 PM
Starter Member
 
Posts: 1
Default AuAuthentication with squid ldap_auth ZCS-6.0.6

I can authenticate squid in version ZCS-5.0.23 with the command:

/usr/lib/squid/ldap_auth -d -v 3 -b dc=meudominio,dc=com,dc=br -f "(&(uid=%s)(objectClass=zimbraAccount))" -h 172.16.99.6

I can not log in version ZCS-606:

mail:/etc/init.d# /usr/lib/squid/ldap_auth -d -v 3 -b dc=lojasflamboyan,dc=com,dc=br -f "(&(uid=%s)(objectClass=zimbraAccount))" -h 172.16.99.6
admin password
user filter '(&(uid=admin)(objectClass=zimbraAccount))', searchbase 'dc=meudominio,dc=com,dc=br'
Ldap search returned nothing
ERR Success

What should have changed from Ver 5 to Ver-ZCS ZCS-6?

Grateful,
Reply With Quote
  #2 (permalink)  
Old 06-19-2010, 09:40 AM
Junior Member
 
Posts: 8
Default

Im have the same problem, the 389 port apears bind only thrut the server.
Reply With Quote
  #3 (permalink)  
Old 06-29-2010, 12:09 PM
Junior Member
 
Posts: 8
Default

i test with this to found the error.

echo '"user":"Squid proxy-caching web server"' | /usr/lib/squid/ldap_auth -v 3 -D "uid=zimbra,cn=admins,cn=zimbra" -w PASSWORD -b "ou=people,dc=server,dc=com,dc=uy" -f "(&(objectClass=zimbraAccount)(uid=%s))" -h serverIP

add this line to squid.conf

auth_param basic program /usr/lib/squid/ldap_auth -v 3 -D "uid=zimbra,cn=admins,cn=zimbra" -w PASSWORD -b "ou=people,dc=server,dc=com,dc=uy" -f "(&(objectClass=zimbraAccount)(uid=%s))" -h serverIP

enjoy.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.