Results 1 to 1 of 1

Thread: Zimbra/OpenLDAP and Apache Directory Studio, bind_dn

  1. #1
    todd_dsm's Avatar
    todd_dsm is offline Loyal Member
    Join Date
    May 2008
    Location
    Des Moines, IA
    Posts
    89
    Rep Power
    7

    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 09:51 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 03-28-2008, 09:18 AM
  2. Replies: 1
    Last Post: 01-02-2008, 09:31 PM
  3. Apache port conflict
    By rmvg in forum Administrators
    Replies: 0
    Last Post: 11-10-2007, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •