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 09-06-2006, 03:51 AM
Active Member
 
Posts: 40
Thumbs down ldap 389: port connection refused

Hi, I have in the zimbra server the ldap port 389 opened:

Code:
# nmap localhost

PORT    STATE SERVICE
389/tcp open  ldap
A telnet in the zimbra server:

Code:
 # telnet localhost 389
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
But if I try a telnet of another host:

Code:
# telnet 192.168.0.90 389
Trying 192.168.0.90...
telnet: connect to address 192.168.0.90: Connection refused
telnet: Unable to connect to remote host: Connection refused
And the nmap says it's closed:

Code:
#nmap 192.168.0.90 -p 389

Interesting ports on 192.168.0.90:
PORT    STATE  SERVICE
389/tcp closed ldap
I want to introduce mail contacts in the ldap server, then my users could see and use these contacts at their address book.

Any suggestions??
Reply With Quote
  #2 (permalink)  
Old 09-06-2006, 04:03 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

It should bind to your ip address not localhost. Is your /etc/hosts file correct and your DNS records point to this server?

What does the following commands give?

nmap 192.168.0.90
host `hostname`
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 09-06-2006, 09:28 AM
Former Zimbran
 
Posts: 5,606
Default

LDAP Binds to whatever the ldap host is in zmlocalconfig, example:
It binds to mail.server.com
so
telnet mail.sever.com 389
Reply With Quote
  #4 (permalink)  
Old 09-06-2006, 03:09 PM
Active Member
 
Posts: 34
Default Iptables or Firewall ?

Looks like it could be iptables. Run "iptables -nL" and see if ldap is allowed through.
Reply With Quote
  #5 (permalink)  
Old 09-07-2006, 01:03 AM
Active Member
 
Posts: 40
Unhappy

Phoneix in the zimbra server (192.168.0.90) if a run:

Code:
nmap 192.168.0.90 -p 389

PORT    STATE  SERVICE
389/tcp closed ldap
and
Code:
host localhost 

localhost has address 127.0.0.1
localhost has IPv6 address ::1
I bought a domain (name ex: domain.com) but the installation of the zimbra server was with the domain name localhost.localdomain and the HELO don't like that. With gmail,hotmail all works good but with others think that my mails are spam.

My domain "domain.com" has a mx record to a publid ip adress (to the router) then the router it's configured to forward the port 25 to my zimbra server (192.168.0.90) and the zimbra server has this /etc/hosts:
127.0.0.1 localhost.localdomain localhost
192.168.0.90 mail.example mail
Note:I know the zimbra server's name "localhost.localdomain" it's wrong but when I installed zimbra every name I try had errors (DNS can't resolve it). Then I followed the steps of a how-to run BIND (posted here ) in the zimbra server. Then my bind config file look like this:

Code:
$ttl 38400
@       IN      SOA     mail.okkum. root.mail.okkum. (
                        2005110200
                        10800
                        3600
                        604800
                        38400 )
@             IN        NS      mail.okkum.
@             IN        MX     10 192.168.0.90
@             IN        A       192.168.0.90
mail.okkum IN        A       192.168.0.90
#mail1       IN       CNAME     mail
#mail2       IN        CNAME     mail
But I got the same errors. (DNS can't resolve it) Then I modified the BIND file to this:

Code:
                IN NS           localhost
localhost       IN A            127.0.0.1
localhost       IN MX   10              localhost
Then I added in the zimbrawebadmin the domain I bought "domain.com" and all "worked good", but now I'm seeing that I have a BIG problem with the spam by the localhost.localdomain name.
And the ldap service.

Last edited by koby; 09-07-2006 at 01:08 AM..
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.