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

Re: Re[2]: slave-to-master replica



Thanks. And now your logs?

More info, more info....

<quote who="A Molchanov">
>
>
> -----Original Message-----
> From: Gavin Henry <ghenry@suretecsystems.com>
> To: A Molchanov <vip43@mail.ru>
> Date: Thu, 06 Dec 2007 20:31:25 +0000
> Subject: Re: slave-to-master replica
>
>
> A Molchanov wrote:
>> Hellow, its about for ldap-2.3 replication with syncrepl
>> I need slave-to-master replica, have making slapd.conf like
>> http://www.openldap.org/faq/data/cache/1434.html... but it's not
>> working.
>
> Hi,
>
> Can we see your config?
>
>> Its even imposable to make changes on the slave directly,..
>
> A slave is readonly
>
>> I hope anybody have a working sample, ..please show me
>
> More info needed.
>
>
>
> yes, thanks, my ldap version 2.3-27
> my slapd.conf  is:
>
> ---master:
> -------
> authz-policy    to
>
> authz-regexp cn=admin
>   cn=admin,dc=firm,dc=ru
>
> #authz-regexp   cn=slave1.firm.ru
>                cn=slave1.firm.ru,ou=IT,dc=firm,dc=ru
>
> access to attrs=authzTo
>     by * read stop
>
> overlay syncprov
> syncprov-checkpoint 100 10
> syncprov-sessionlog 100
> ----------
>
> and slave:
> --------
> overlay                  chain
> chain-uri                ldaps://master.firm.ru
> chain-idassert-bind      bindmethod=simple
>                          binddn="cn=admin,dc=firm,dc=ru"
>                          mode=self
> chain-idassert-authzFrom "*"
> chain-return-error       TRUE
>
> syncrepl      rid=5
>                     provider=ldap://192.168.0.1
>                    bindmethod=simple
>               binddn="cn=admin,dc=firm,dc=ru"
>                      credentials=ghbrjkmysqcthdth
>     searchbase="dc=firm,dc=ru"
>     scope=sub
>                     schemachecking=on
>                      type=refreshAndPersist
>                    retry="50 +"
> updateref ldap://192.168.0.1
> ---------
> .that is the subject of the help ))
>