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-14-2010, 10:36 PM
Active Member
 
Posts: 41
Question [SOLVED] LDAP and two interfaces

Hello!

6.0.8_GA_2661.FOSS

The first install was made about 2 yrs ago with 5.x version. Consequent upgrades led to 6.0.8. All works fine, but now the server got a second interface and LDAP refuses to listen it:

first interface:
Code:
nmap 172.28.78.22

Interesting ports on ubuntu-1.eao.drsk.ru (172.28.78.22):
PORT      STATE SERVICE
...
143/tcp   open  imap
389/tcp   open  ldap
443/tcp   open  https
...
second interface (really - second NIC)
Code:
nmap 172.21.122.222

Interesting ports on ubuntu-1.eao.drsk.ru (172.21.122.222):
PORT      STATE SERVICE
...
143/tcp   open  imap
443/tcp   open  https
...
As can be seen, no port 389 on second interface. I'm the administrator of that server and have all privileges. It is also visible that DNS have two records for that server:

Code:
$ host ubuntu-1.eao.drsk.ru
ubuntu-1.eao.drsk.ru has address 172.21.122.222
ubuntu-1.eao.drsk.ru has address 172.28.78.22
$ host 172.21.122.222
222.122.21.172.in-addr.arpa domain name pointer ubuntu-1.eao.drsk.ru.
$ host 172.28.78.22
22.78.28.172.in-addr.arpa domain name pointer ubuntu-1.eao.drsk.ru.
How to make SLAPD to listen both interfaces or any interface? Would ~/openldap/var/run/slapd.args correction be sufficient?
Now it states:

/opt/zimbra/openldap/sbin/slapd -l LOCAL0 -4 -u zimbra -h ldap://ubuntu-1.eao.drsk.ru:389 ldapi:/// -F /opt/zimbra/data/ldap/config

Is it "orthodoxal" to change the file to:

/opt/zimbra/openldap/sbin/slapd -l LOCAL0 -4 -u zimbra -h ldap://:389 ldapi:/// -F /opt/zimbra/data/ldap/config

or to:

/opt/zimbra/openldap/sbin/slapd -l LOCAL0 -4 -u zimbra -h ldap://172.28.78.22:389 -h ldap://172.21.122.222:389 ldapi:/// -F /opt/zimbra/data/ldap/config

Or I must do something else than tweak slapd.args?
I found no way to configure slapd via admin console.
__________________
Regards,
Sergei from Siberia

The word "traitor" is the antonym to the word "patriot".
Reply With Quote
  #2 (permalink)  
Old 11-15-2010, 04:34 AM
Advanced Member
 
Posts: 236
Default

have you restarted Zimbra after creating that new interface? From what I've seen, ZCS services won't bind to interfaces (or rather, addresses) that weren't there when the services started and, AFAIK, the default setting does not bind them to one specific address so that should fix this for you.
Reply With Quote
  #3 (permalink)  
Old 11-15-2010, 04:58 AM
Active Member
 
Posts: 41
Default

Quote:
Originally Posted by odeleon View Post
have you restarted Zimbra after creating that new interface?
Of course!
And the posted above contents of slapd.args was taken after restart.
More, that second interface existed before it was added to DNS, but services weren't bound to it.

Another suggestions?
__________________
Regards,
Sergei from Siberia

The word "traitor" is the antonym to the word "patriot".
Reply With Quote
  #4 (permalink)  
Old 11-15-2010, 05:16 PM
Active Member
 
Posts: 41
Default

It looks like something was wrong with routing. Cleaned the routes, restarted ZCS again and voila!
Solved.
__________________
Regards,
Sergei from Siberia

The word "traitor" is the antonym to the word "patriot".
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.