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

Re: Replication setup problem



Just one correction ... I mistype my DN. The one I'm testing is
example.com

on Slave:

suffix "dc=example,dc=com"
rootdn "cn=manager,dc=example,dc=com"
updatedn "cn=manager,dc=example,dc=com"


thx,

sergio




On Wed, 2004-05-19 at 14:04, Sergio Pereira wrote:
> Hi list,
> 
> I'm trying to setup a replication scheme as follow:
> 
> Master:
> Redhat Linux 9.0 
> openldap-2.0.27-8
> 
> /etc/openldap/slapd.conf
> 
> database        ldbm
> suffix         "dc=example,dc=com"
> rootdn          "cn=manager,dc=example,dc=com"
> rootpw          {SSHA}r39Qqc5h7fY6UR0hl4064wG9ZEtC
> directory       /var/lib/ldap/example.com
> replogfile /var/lib/ldap/ldapreplication
> replica host="192.168.1.79:389" (my slave)
>         tls=yes
>         binddn="cn=manager,dc=example,dc=com"
>         bindmethod=simple credentials={SSHA}r39Qqc5h7fY6UR0hl4064wG9ZEtC
> 
> 
> Slave:
> Redhat Linux 9.0
> openldap-2.0.27-8
> /etc/openldap/slapd.conf
> 
> database        ldbm
> suffix          "dc=rnet,dc=ryerson,dc=ca"
> rootdn          "cn=manager,dc=rnet,dc=ryerson,dc=ca"
> rootpw          {SSHA}r39Qqc5h7fY6UR0hl4064wGO9XfdZEtC
> directory       /var/lib/ldap/rnet.ryerson.ca
> updatedn        "cn=manager,dc=rnet,dc=ryerson,dc=ca"
> updateref       ldap://192.168.1.10  (my master)
> 
> ---xxx---
> 
> when I start openldap on Master the slurpd hangs .. and nothing happens.
> If running as command line, slurpd -f /etc/openldap/slapd.conf -d -1, my
> last lines are:
> Config: (replogfile /var/lib/ldap/ldapreplication)
> Config: (replica host="192.168.1.79:389" tls=yes
> binddn="cn=manager,dc=example,dc=com" bindmethod=simple
> credentials={SSHA}r39Qqc5h7fY6UR0hl4064wG9ZEtC)
> Config: ** successfully added replica "192.168.1.79:389"
> Config: ** configuration file successfully read and parsed
> begin replication thread for 192.168.1.79:389
> 
> but if I do any change on Master ..the change won't be replicated.
> Nothing happens.
> 
> Could someone please pin point what I am doing wrong?
> 
> thx,
> 
> 
> sergio
--