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 11-22-2011, 04:24 AM
Member
 
Posts: 13
Question Can't see LDAP from anywhere other than localhost

Release 7.1.3_GA_3346.UBUNTU10_64 UBUNTU10_64 FOSS edition.

Installed, up and running normally and I was assigned the task of "Getting ldap working".

The issue is that I can't see ldap running on the server from any external source. A nmap shows the ldap port (389) is closed.

If I login to the server I can see ldap is running, and has bound to our localhost address, Surely this should be the eth0 address instead?

Code:
zimbra@zimbra1:~$ ldap status
slapd running pid: 29849
Code:
zimbra   29849  0.0  0.7 399836 63136 ?        Ssl  Nov17   2:12 /opt/zimbra/openldap/sbin/slapd -l LOCAL0 -u zimbra -h ldap://zimbra1.XXXXXXX.com:389 ldapi:/// -F /opt/zimbra/data/ldap/config
replaced domain with XXXXXXX.....

Code:
zimbra@zimbra1:~$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	zimbra1.XXXXXXX.com	zimbra1
Release 7.1.3_GA_3346.UBUNTU10_64 UBUNTU10_64 FOSS edition.

Installed, up and running normally and I was assigned the task of "Getting ldap working".

The issue is that I can't see ldap running on the server from any external source. A nmap shows the ldap port (389) is closed.

If I login to the server I can see ldap is running, and has bound to our localhost address, Surely this should be the eth0 address instead?

Code:
zimbra@zimbra1:~$ ldap status
slapd running pid: 29849
Code:
zimbra   29849  0.0  0.7 399836 63136 ?        Ssl  Nov17   2:12 /opt/zimbra/openldap/sbin/slapd -l LOCAL0 -u zimbra -h ldap://zimbra1.XXXXXXX.com:389 ldapi:/// -F /opt/zimbra/data/ldap/config
replaced domain with XXXXXXX.....

Code:
zimbra@zimbra1:~$ cat /etc/hosts
127.0.0.1	localhost
127.0.1.1	zimbra1.XXXXXXX.com	zimbra1
Code:
zimbra@zimbra1:~$ hostname -f
zimbra1.XXXXXXX.com
Can anyone suggest why I can't see it binding on any external interfaces?

Many thanks, and so far a brilliant product!

Last edited by djsmiley2k; 11-22-2011 at 06:53 AM.. Reason: Wrote down wrong port.
Reply With Quote
  #2 (permalink)  
Old 11-22-2011, 12:45 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by djsmiley2k View Post
Can anyone suggest why I can't see it binding on any external interfaces?
Might it be the fact that your hosts file is incorrect and you're also not using the correct LAN IP (the one you're using is non-routable) for the Zimbra server. I'd suggest you read the Split DNS article on what's required for the hosts file and the DNS records (if you're behind a NAT router).
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-23-2011, 04:40 AM
Member
 
Posts: 13
Default

Hehe thanks. It was that.

After some looking and thinking about what had been done a bit more I saw where the mistake was.

Appently the reason this was done, was to stop the mailserver marking the emails as having originated from "localhost", because appently this is a good cause for being blocked.

I shook my head, and fixed it with the correct IP now being resolved via the dns as it should be. Happyness reigned and it works.... mostly. (Having trouble with outlook but thats for a different post. This is now solved. Many thanks
Reply With Quote
  #4 (permalink)  
Old 11-23-2011, 04:44 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by djsmiley2k View Post
This is now solved. Many thanks
You're welcome and I'm glad you've fixed it.
__________________
Regards


Bill
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.