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 03-19-2009, 03:44 PM
Loyal Member
 
Posts: 83
Default Zimbra/OpenLDAP and Apache Directory Studio, bind_dn

Hey all, I just wanted to share something cool with everyone
Apache Directory Studio - The Eclipse based LDAP browser and directory client

1) Install the java jre/jdk, set the $JAVA_HOME variable
2) Install the Apache Directory Studio. if the above is successful, this step will be all clicking.

3) Open ADS and run through the setup to connect to an LDAP server:
Connection: whatever you want
Host: host.example.org
Port: 389
Encrypt: none
Then test by clicking: Check Network Parameter
if all works out, you move to the Auth Tab
ads-zmail-1.PNG

4) This one is a little more tricky. JobBz helped me with the zimbra steps:
Code:
Login to your zimbra host and su to zimbra
# su - zimbra

To find the info you will need to enter below, enter this:
# zmlocalconfig -s zimbra_ldap_userdn zimbra_ldap_password
zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
zimbra_ldap_password = whatever

If you don't like password displayed then you can change the 
zimbra_ldap_password by:
# zmldappasswd newpassword
Auth Method: Simple
Bind DN or user: uid=zimbra,cn=admins,cn=zimbra (from above)
Bind password: *******
Then test by clicking: Check Authentication
if all works out, you move to the Browser Options tab
ads-zmail-2.PNG

Really all you have to do here is click the button: Fetch Base DNs.
It may be difficult to see but it pulls back
ads-zmail-3.PNG


Now, those of you who are familiar with OpenLDAP will realize that this looks different on a non-Zimbra install; an install of OpenLDAP via source or rpm. If you were to connect to an OpenLDAP-only server you would notice that when you click Fetch Base DNs (above)

Code:
Base DN: dc=example,dc=org. Which is good.

Zimbra pulls back:
Base DN: cn=zimbra. Which is questionable.
I'm certainly no expert with OpenLDAP or Zimbra but all of my OpenLDAP installs return a similar result. I may have done something wrong during the Zimbra install.

Then you finish the walk-through and BAM, you can get a visual, you know, if you're one of those people that cannot focus solely within the abstract, like me I hope this is useful to someone besides me. Thanks again JobBz!

Cheers,
todd_dsm

Don't forget to Vote for this RFE:
RFE: A place To Display the contents of 'My Documents'
Reasoning: It's new, bold, and cool.

Last edited by todd_dsm; 10-08-2010 at 10:51 AM..
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.