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 09-25-2009, 08:44 PM
Intermediate Member
 
Posts: 24
Default [SOLVED] ldapsearch returns zero results

Hi guy,

Our mac users have configured Mail.app and Address book using the steps below from the wiki but the ldapserch returns zero results.

Open either Mail.app or Apple Address Book
For Mail.app: Preferences -> Composing -> 'Configure LDAP...'
For Address Book: Preferences -> LDAP
Then enter the information for your Zimbra server
Name - Enter an name
Server - Enter your Zimbra Server hostname
Search Base - Enter your domain like "dc=example,dc=com"
Port - Enter 389 for standard, 636 and check 'Use SSL' if you have OpenLDAP in SSL mode.
Scope - Subtree
Authentication is Optional. If you want to authenticate enter your full Zimbra email address and password.

I have also searched ldap from the command line and the results are the same.

zimbra@host:~$ ldapsearch -x -b dc=doman,dc=com -h host.doman.com
# extended LDIF
#
# LDAPv3
# base <dc=domain,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1

The server has multiple domains and the command above has been executed for all domains and the results are the same.
Reply With Quote
  #2 (permalink)  
Old 09-26-2009, 07:44 PM
Special Member
 
Posts: 122
Default

I am getting the same thing when running ldapsearch on my LDAP replica.
However, the master returns results. Perhaps it is preventing anonymous binds?
Reply With Quote
  #3 (permalink)  
Old 09-27-2009, 12:58 PM
Advanced Member
 
Posts: 192
Default

From the release notes of Zimbra 6:
Quote:
Anonymous searches of the LDAP directory are no longer enabled
beginning with 6.0. Note: anonymous searches of the directory are allowed
for upgrades.
Reply With Quote
  #4 (permalink)  
Old 09-27-2009, 09:30 PM
Intermediate Member
 
Posts: 24
Default

Hivos,

Thank you! This explains why this is not a problem on my development server. It was upgraded to 6.0 and the server that returned zero results is a fresh installation of 6.0.

Thank you,
Mohammed
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.