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-24-2010, 08:40 AM
Active Member
 
Posts: 30
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.
Reply With Quote
  #2 (permalink)  
Old 03-24-2010, 09:17 AM
Advanced Member
 
Posts: 192
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=*
Reply With Quote
  #3 (permalink)  
Old 03-24-2010, 09:23 AM
Active Member
 
Posts: 30
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.
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.