[Date Prev][Date Next] [Chronological] [Thread] [Top]

Need some help setting up replication.



On my master server I have:

/etc/openldap/slapd.conf - (Master system)

:

#######################################################################

# ldbm and/or bdb database definitions

#######################################################################

 

database        bdb

suffix          "dc=domain-name,dc=com"

rootdn          "cn=Manager,dc=domain-name,dc=com"

            :

rootpw          secret

:

## -- master slapd --

replogfile      /var/ldap/slapd.log

 

# Replicas of this database

replica host=ldap-replica.domain-name.com

        suffix="dc=domain-name,dc=com"

        binddn="cn=replicid,dc=domain-name,dc=com"

        credentials=secret

        bindmethod=simple

        tls=yes

 

ldap.conf

            :

URI     ldap://ldap-master.domain-name.com

HOST localhost

BASE dc=domain-name,dc=com

 

On the replication system I have:

/etc/openldap/slapd.conf - (Replication system)

            :

#######################################################################

# ldbm and/or bdb database definitions

#######################################################################

 

database        bdb

suffix          "dc=domain-name,dc=com"

rootdn          "cn=replicator,dc=domain-name,dc=com"

rootpw          secret

:

## -- slave slapd --

updatedn        "cn=replicid,dc=domain-name,dc=com"

updateref       ldap://replic.domain-name.com

 

/etc/open/ldap.conf

            :

URI     ldap://ldap-master.domain-name.com

HOST localhost

BASE dc=domain-name,dc=com

 

I am not seeing the master database being replicated. What is the proper configuration for a simple master - replication setup?


Frank Reiss