Results 1 to 4 of 4

Thread: [SOLVED] LDAP bind, not access from lan IP

  1. #1
    bart is offline Intermediate Member
    Join Date
    Apr 2008
    Posts
    21
    Rep Power
    7

    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.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    what does the following show
    Code:
    su - zimbra
    zmlocalconfig | grep "ldap.*url"
    is it just set as localhost ?

  3. #3
    bart is offline Intermediate Member
    Join Date
    Apr 2008
    Posts
    21
    Rep Power
    7

    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.

  4. #4
    Konstantin is offline New Member
    Join Date
    Feb 2007
    Posts
    4
    Rep Power
    8

    Default

    hello

    iptables -t nat -A PREROUTING -i eth0 -p tcp --destination LAN_IP --dport 389 -j DNAT --to LDAP_IP:389

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 32
    Last Post: 03-18-2011, 11:03 AM
  2. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  3. Binding zimbra ldap to a specific ip
    By carnold in forum Administrators
    Replies: 1
    Last Post: 11-08-2007, 01:06 PM
  4. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM

Posting Permissions

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