After reading more and more howtos, I've come to the conclusion that there's indeed something wrong (with my master ldap installation?). So I decided to 'trick' the installation script in slave ldap server by using it's own hostname as master server.
Then, I manually configure it to reference the master server:
Code:
[zimbra@centosbdc ~]$ zmlocalconfig -e ldap_master_url=ldap://centos5.pluto.com:389
But when running the zmldapenablereplica on the slave server:
Code:
[zimbra@centosbdc ~]$ libexec/zmldapenablereplica
Looking for LDAP installation...succeeded
Verifying ldap on ldap://centos5.pluto.com:389...FAILED
ERROR: Unable to verify ldap connection on ldap://centos5.pluto.com:389 - exiting
/opt/zimbra/bin/ldapsearch -x -H ldap://centos5.pluto.com:389 -D uid=zimbra,cn=admins,cn=zimbra -w 123456
ldap_bind: Can't contact LDAP server (-1)
Cannot contact LDAP server
What is possibly causing this?
1. The master ldap server is running.
2. Both servers can ping each other
3. DNS is on master server, and slave server is pointed to the master in /etc/resolv.conf
4. From slave server I can dig centos5.pluto.com
5. There's no firewall in both servers.
6. SELinux is in permissive mode in both servers.
The only thing that I suspect is that using nmap, I find out that master ldap only listen to localhost and not network. I've searched the forum and it seems that it is an intended design to protect it from crackers?
Please any help will he great.
Thank you.