Results 1 to 3 of 3

Thread: [SOLVED] How to query LDAP to return unique domains

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    30
    Rep Power
    7

    Default [SOLVED] How to query LDAP to return unique domains

    What would the query be to return only the unique domains that are hosted in a Zimbra 6.0.5 server? I need to ask the LDAP server directly a question that would return the same results as zmprov gad. Thank you so much.

  2. #2
    Join Date
    Aug 2009
    Location
    The Hague -- The Netherlands
    Posts
    214
    Rep Power
    6

    Default

    Try ldapsearch (as user zimbra of course):
    Code:
    ldapsearch -H ldap://<hostname>:389 -x -w <zimbraLdapPassword> -D "uid=zimbra,cn=admins,cn=zimbra" zimbraDomainName=*

  3. #3
    Join Date
    Apr 2008
    Posts
    30
    Rep Power
    7

    Default

    Thank you. I actually solved it minutes before I received this email. The info was right here: Zimbra Directory Service (LDAP) - Zimbra :: Wiki

    Thanks for your help.

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 03:27 PM
  2. Query Zimbra's LDAP
    By f0rd42 in forum Administrators
    Replies: 5
    Last Post: 03-09-2010, 01:42 PM
  3. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 10:36 AM
  4. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 10:36 PM
  5. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 07:45 AM

Posting Permissions

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