Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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-12-2007, 10:00 AM
Intermediate Member
 
Posts: 20
Default [SOLVED] LDAP, thunderbird and Outlook

Hello everyone!

I had installed the latest OSE edition for debian on a chroot jail on Gentoo, and later on tried the NE always on the same machine.

I have tried the MAPI connector on a vmware install of win XP, and it works good.

But the problem arises when I try to use a linux mail client (Thunderbird) in order to sync the LDAP directory (GAL): Thunderbird silently refuses the connection, and the ldap account remains empty: search does not work, and browsing neither (I know this could be normal).

I have correctly added the account based on this thread, either on linux-thunderbird or winxp-outlook: the only difference is that outlook spits an error message (in italian, free translation) about beeing "Unable to connect to the LDAP server (81)". Checked
Code:
zmcontrol status
with my zimbra user in the chroot, all services running. Checked
Code:
telnet myhost 389
, it connects regularly. Can someone give a hand?

Thank you in advance, any further info I'll be glad to provide.

Last edited by tommy; 03-15-2007 at 07:32 AM.. Reason: added gentoo specific and SOLVED to title
Reply With Quote
  #2 (permalink)  
Old 03-13-2007, 09:54 PM
Zimbra Employee
 
Posts: 2,103
Default

try configuring tbird with the ip, not the hostname.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 03-15-2007, 07:21 AM
Intermediate Member
 
Posts: 20
Default

Hehe! Ok, I found the reason for all this mess, and the "use your ip instead of hostname" helped me out:

The /etc/hosts file configured inside the chroot is merely used for zimbra to be able to install inside the chroot; but for "external" (out of chroot) requests, the chrooted /etc/hosts file is not considered, but rather the gentoo /etc/hosts file:
This file is different in syntax, containing:
Code:
127.0.0.1 hostname.domain.foo hostname localhost.localdomain localhost
192.168.0.1 hostname.domain.foo hostname
So first line (127.0.0.1) contains 4 entries, 2 of which are also contained in the second line (local IP); I guess that reading the first line also leads to automatically resolving it without looking for further instructions (next lines)... so not finding 192.168.0.1, but rather 127.0.0.1.

All I had to do is change my gentoo /etc/hosts to reflect the contents of my chrooted debian jail.

A trivia: I understand not beeing able to connect from outside via public IP - for obvious security reasons - , but why is it that I cannot connect to localhost (127.0.0.1)?
Reply With Quote
  #4 (permalink)  
Old 03-15-2007, 07:25 AM
Former Zimbran
 
Posts: 5,606
Default

Because then you would bind on all interfaces. We are moving towards only binding to one, therefore, we only bind to the fqdn you designate.

Glad you got it working
Reply With Quote
  #5 (permalink)  
Old 03-15-2007, 07:30 AM
Intermediate Member
 
Posts: 20
Default

Oh, ok! Seems a lot clearer to me now....

Great work! Thanks a lot for the feedback.
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.