1755426 Members
3557 Online
108832 Solutions
New Discussion юеВ

Replication problem

 
sindodm
Occasional Advisor

Replication problem

I have setup the openldap authenication , the servers can authenicate each others,

Now , I would like to setup the replication (slurpd) so that the slave can take over the master server once it is corrupted , I have already follow the admin guide to setup it but still can't replicate the data , can anyone post the successful setting file in your machine ( eg. /etc/ldap.conf , /etc/openldap/sldap.conf or other required files ) for refernce , it would be greatful if you can help , thx in advance.
2 REPLIES 2
Ivan Ferreira
Honored Contributor

Re: Replication problem

slapd.conf:
-------------

########################################################################
# Replica setup
########################################################################
replica host="192.168.1.2:389"
binddn="cn=root,dc=test,dc=com,dc=py"
bindmethod=simple
credentials=password
replogfile /var/lib/ldap/replica/replog



/etc/openldap/slapd.conf

# Transfer to this host /etc/lib/ldap/*

updatedn "cn=root,dc=test,dc=com,dc=py"

# Basic ACL
access to *
by * read
by self write
by users read
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
sindodm
Occasional Advisor

Re: Replication problem

thx ivan ,

I have already make the same setting , but still not work , can kindly also post other setting or remind me the required settting ? thx