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 04-26-2011, 08:23 PM
Starter Member
 
Posts: 1
Default Zimbra OpenLDAP

Hi there,

I'm new to Zimbra, and I'm trying to use its internal OpenLDAP for OS authentication in a Linux Mint client. The software versions are the following:

* Zimbra: Release 6.0.9_GA_2686.RHEL5_64_20101115233514 CentOS5_64 FOSS edition.
* Zimbra OS server: CentOS release 5.5 (Final)
* Client: Linux Mint 10 Julia

I was having some problems trying to connect to Zimbra OpenLDAP from the client with ldapsearch command. I could not make that work with start TLS on port 389; however the regular connection works fine.

As Linux Mint is an Ubuntu derivative, and is using the OpenLDAP tools with GNU TLS (which I have read that can have some problems), I decided to start trying first from the ZImbra server itself. So, in the CentOS host I copied the CA certificate to /etc/openldap/cacerts directory, make the soft link with the hash number, and configured the variable TLS_CACERTDIR with that directory in ldap.conf. After that, I could execute something like:

ldapsearch -x "(objectclass=*)" -D cn=config -W -ZZ

And it worked fine. However, when trying to test only the connection with openssl, an error is given:

> openssl s_client -connect host.domain:389
CONNECTED(00000003)
31319:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:188:

The same thing happen if I try with the -CApath option. So, does anyone can help me to discover what could be wrong?. I would like to resolve this problem first, so I could continue with the Linux Mint problem then.

And more specifically to Zimbra: as I have said, I am new to Zimbra, but have some experience with OpenLDAP. Then, I would like to know where TLS configurations for OpenLDAP can be viewed / edited. I have tried with zmlocalconfig command, but all that I can find is ldap_starttls_supported and ldap_common_require_tls.

Thanks very much,

tizo
Reply With Quote
  #2 (permalink)  
Old 04-27-2011, 09:44 AM
Zimbra Employee
 
Posts: 580
Default

A few things:

a) You can't use OpenSSL s_client to do startTLS to LDAP.
b) GnuTLS has all sorts of issues and security risks. You use it at your own peril.
c) Just look at the .ldaprc file for the Zimbra user for it's configuration
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
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.