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 04-22-2008, 05:13 PM
Intermediate Member
 
Posts: 21
Default [SOLVED] LDAP bind, not access from lan IP

Hello.

I need to access to the zimbra-ldap from the lan, to get access to the GAL from mail clients. The zimbra LDAP server refuse conection from the lan ipīs telnet name.domain.edu 389 refused.
I only can access to ldap from the localhost.


the nmap scan report that the 389 is closes. only this ports are open.

22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp open smtps
993/tcp open imaps
995/tcp open pop3s


How can I change this, i need to ldap listen in port 389 only from my local LAN interface.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 04-26-2008, 03:16 AM
Moderator
 
Posts: 7,928
Default

what does the following show
Code:
su - zimbra
zmlocalconfig | grep "ldap.*url"
is it just set as localhost ?
__________________
Reply With Quote
  #3 (permalink)  
Old 04-27-2008, 03:46 PM
Intermediate Member
 
Posts: 21
Default

I found a solution, I edit the ldap start script located at /opt/zimbra/bin/ldap , and remove the "-h my...", then restart all the services.

the ldap bind now to all the ip's, i restric the needed ip only to the iptables.

Last edited by bart; 06-22-2008 at 07:40 PM..
Reply With Quote
  #4 (permalink)  
Old 02-26-2009, 11:56 PM
New Member
 
Posts: 4
Default

hello

iptables -t nat -A PREROUTING -i eth0 -p tcp --destination LAN_IP --dport 389 -j DNAT --to LDAP_IP:389
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.