[email protected] wrote:

> Peter Palmreuther wrote:
>> I modified slapd.conf to contain 'retry=3D"5 +"' instead of a 60 =
second
>> timeout.
>>=20
>> I started both servers and checked "do_syncrepl" in server #1 was =
followed
>> by log information stating it connected to server #2.
>>=20
>> I then rerun the test and this time it did not that much iterations, =
but
>> failed during the first run (with each run being 100 round of "add, =
mod,
>> delete").
>>=20
>> The URL with new log output is still the same, it's the =
"debug-02.tar.*"
>> files.
>=20
> In both the new and old logs, the 2nd server is sending updates back =
to the
> first server. This can only happen if the serverID is misconfigured. =
Please
> post your slapd configs for both servers.

Sorry, misconfiguration on my side when I replicated the real setup at =
my home server.
I'fe corrected configuration and rerun test.

'debug-03' is put on known URL, server configuration is

,=97=97=97=97=97 [ server #1 {egrep -v '^(#|\s*$)' slapd.conf} ] =
=97=97=97=97=97=97=97=97=97
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/openldap.schema
include         /usr/local/etc/openldap/schema/java.schema
include         /usr/local/etc/openldap/schema/samba.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/dhcp.schema
pidfile         /home/pit/esolution/ldap1/run/slapd.pid
argsfile        /home/pit/esolution/ldap1/run/slapd.args
modulepath      /usr/local/libexec/openldap
moduleload      back_bdb
moduleload      back_monitor
moduleload      back_hdb
access to dn.subtree=3D"o=3Desolution,dc=3Ddeutscherv,dc=3Dde"
        by dn.exact=3D"cn=3DAdmin,o=3Desolution,dc=3Ddeutscherv,dc=3Dde" =
manage
        by dn.exact=3D"cn=3DMirrorMode,o=3Desolution,dc=3Ddeutscherv,dc=3D=
de" read
        by dn.exact=3D"cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde" manage
        by anonymous auth
access to dn.subtree=3D"dc=3Ddeutscherv,dc=3Dde"
        by dn.exact=3D"cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde" manage
        by anonymous auth
access to *
        by dn.exact=3D"cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde" manage
        by self write
        by users read
        by anonymous auth
database        hdb
suffix          "dc=3Ddeutscherv,dc=3Dde"
directory       /home/pit/esolution/ldap1/data/deutscherv.de
rootdn          "cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde"
rootpw          {SSHA}kFujMZAoRiNkD6tlvVB/Ffj5zNsLXBpl
index   objectClass     eq
index   entryUUID       eq
overlay syncprov
syncprov-checkpoint     100 10
syncprov-sessionlog     100
syncrepl        rid=3D001
                provider=3Dldap://localhost:11389
                type=3DrefreshAndPersist
                searchbase=3D"o=3Desolution,dc=3Ddeutscherv,dc=3Dde"
                schemachecking=3Don
                bindmethod=3Dsimple
                binddn=3D"cn=3DMirrorMode,o=3Desolution,dc=3Ddeutscherv,dc=
=3Dde"
                credentials=3D"M1rr0rM3"
                retry=3D"5 +"
serverID        1
mirrormode      on
database        monitor
`=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=
=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=
=97=97=97=97=97=97=97=97=97=97=97=97=97

,=97=97=97=97=97 [ server #2 {egrep -v '^(#|\s*$)' slapd.conf} ] =
=97=97=97=97=97=97=97=97=97
include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema
include         /usr/local/etc/openldap/schema/openldap.schema
include         /usr/local/etc/openldap/schema/java.schema
include         /usr/local/etc/openldap/schema/samba.schema
include         /usr/local/etc/openldap/schema/nis.schema
include         /usr/local/etc/openldap/schema/dhcp.schema
pidfile         /home/pit/esolution/ldap2/run/slapd.pid
argsfile        /home/pit/esolution/ldap2/run/slapd.args
modulepath      /usr/local/libexec/openldap
moduleload      back_bdb
moduleload      back_monitor
moduleload      back_hdb
access to dn.subtree=3D"o=3Desolution,dc=3Ddeutscherv,dc=3Dde"
        by dn.exact=3D"cn=3DAdmin,o=3Desolution,dc=3Ddeutscherv,dc=3Dde" =
manage
        by dn.exact=3D"cn=3DMirrorMode,o=3Desolution,dc=3Ddeutscherv,dc=3D=
de" read
        by dn.exact=3D"cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde" manage
        by anonymous read
access to dn.subtree=3D"dc=3Ddeutscherv,dc=3Dde"
        by dn.exact=3D"cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde" manage
        by anonymous read
access to *
        by dn.exact=3D"cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde" manage
        by self write
        by users read
        by anonymous auth
database        hdb
suffix          "dc=3Ddeutscherv,dc=3Dde"
directory       /home/pit/esolution/ldap2/data/deutscherv.de
rootdn          "cn=3DAdmin,dc=3Ddeutscherv,dc=3Dde"
rootpw          {SSHA}kFujMZAoRiNkD6tlvVB/Ffj5zNsLXBpl
index   objectClass     eq
index   entryUUID       eq
overlay syncprov
syncprov-checkpoint     100 10
syncprov-sessionlog     100
syncrepl        rid=3D001
                provider=3Dldap://localhost:10389
                type=3DrefreshAndPersist
                searchbase=3D"o=3Desolution,dc=3Ddeutscherv,dc=3Dde"
                schemachecking=3Don
                bindmethod=3Dsimple
                binddn=3D"cn=3DMirrorMode,o=3Desolution,dc=3Ddeutscherv,dc=
=3Dde"
                credentials=3D"M1rr0rM3"
                retry=3D"5 +"
serverID        2
mirrormode      on
database        monitor
`=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=
=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=97=
=97=97=97=97=97=97=97=97=97=97=97=97=97
--=20
Regards,
Peter.=


Reply via email to