Results 1 to 4 of 4

Thread: Can't see LDAP from anywhere other than localhost

  1. #1
    djsmiley2k is offline Member
    Join Date
    Nov 2011
    Posts
    13
    Rep Power
    3

    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 07:53 AM. Reason: Wrote down wrong port.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,495
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    djsmiley2k is offline Member
    Join Date
    Nov 2011
    Posts
    13
    Rep Power
    3

    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

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,495
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. problema durante la instalacion
    By showmanchoyin in forum Spanish
    Replies: 18
    Last Post: 09-07-2011, 09:44 AM
  2. Why is Tomcat shuting down ever nights?
    By trapanator in forum Administrators
    Replies: 2
    Last Post: 11-30-2006, 11:57 PM
  3. fetchmail: SMTP< 250 Ok: queued as
    By daly1 in forum Installation
    Replies: 4
    Last Post: 08-04-2006, 04:23 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. emails don't show up in inbox in browser
    By pstelzer in forum Installation
    Replies: 10
    Last Post: 12-13-2005, 10:21 AM

Tags for this Thread

Posting Permissions

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