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

Re: (ITS#6368) Bug in deleting entry in MirrorMode



Peter Palmreuther wrote:
> Sorry, misconfiguration on my side when I replicated the real setup at my home server.
> I'fe corrected configuration and rerun test.

Thanks. Please try the syncprov.c in CVS HEAD. (Also you should probably be
testing the RE24 code now, not 2.4.19.)

> 'debug-03' is put on known URL, server configuration is
> 
> ,????? [ server #1 {egrep -v '^(#|\s*$)' slapd.conf} ] ?????????
> 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="o=esolution,dc=deutscherv,dc=de"
> 	by dn.exact="cn=Admin,o=esolution,dc=deutscherv,dc=de" manage
> 	by dn.exact="cn=MirrorMode,o=esolution,dc=deutscherv,dc=de" read
> 	by dn.exact="cn=Admin,dc=deutscherv,dc=de" manage
> 	by anonymous auth
> access to dn.subtree="dc=deutscherv,dc=de"
> 	by dn.exact="cn=Admin,dc=deutscherv,dc=de" manage
> 	by anonymous auth
> access to *
> 	by dn.exact="cn=Admin,dc=deutscherv,dc=de" manage
> 	by self write
> 	by users read
> 	by anonymous auth
> database	hdb
> suffix		"dc=deutscherv,dc=de"
> directory	/home/pit/esolution/ldap1/data/deutscherv.de
> rootdn		"cn=Admin,dc=deutscherv,dc=de"
> rootpw		{SSHA}kFujMZAoRiNkD6tlvVB/Ffj5zNsLXBpl
> index	objectClass	eq
> index	entryUUID	eq
> overlay	syncprov
> syncprov-checkpoint	100 10
> syncprov-sessionlog	100
> syncrepl	rid=001
> 		provider=ldap://localhost:11389
> 		type=refreshAndPersist
> 		searchbase="o=esolution,dc=deutscherv,dc=de"
>         	schemachecking=on
> 		bindmethod=simple
> 		binddn="cn=MirrorMode,o=esolution,dc=deutscherv,dc=de"
> 		credentials="M1rr0rM3"
> 		retry="5 +"
> serverID	1
> mirrormode	on
> database	monitor
> `???????????????????????????????????????????????????????????????
> 
> ,????? [ server #2 {egrep -v '^(#|\s*$)' slapd.conf} ] ?????????
> 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="o=esolution,dc=deutscherv,dc=de"
> 	by dn.exact="cn=Admin,o=esolution,dc=deutscherv,dc=de" manage
> 	by dn.exact="cn=MirrorMode,o=esolution,dc=deutscherv,dc=de" read
> 	by dn.exact="cn=Admin,dc=deutscherv,dc=de" manage
> 	by anonymous read
> access to dn.subtree="dc=deutscherv,dc=de"
> 	by dn.exact="cn=Admin,dc=deutscherv,dc=de" manage
> 	by anonymous read
> access to *
> 	by dn.exact="cn=Admin,dc=deutscherv,dc=de" manage
> 	by self write
> 	by users read
> 	by anonymous auth
> database	hdb
> suffix		"dc=deutscherv,dc=de"
> directory	/home/pit/esolution/ldap2/data/deutscherv.de
> rootdn		"cn=Admin,dc=deutscherv,dc=de"
> rootpw		{SSHA}kFujMZAoRiNkD6tlvVB/Ffj5zNsLXBpl
> index	objectClass	eq
> index	entryUUID	eq
> overlay	syncprov
> syncprov-checkpoint	100 10
> syncprov-sessionlog	100
> syncrepl	rid=001
> 		provider=ldap://localhost:10389
> 		type=refreshAndPersist
> 		searchbase="o=esolution,dc=deutscherv,dc=de"
>         	schemachecking=on
> 		bindmethod=simple
> 		binddn="cn=MirrorMode,o=esolution,dc=deutscherv,dc=de"
> 		credentials="M1rr0rM3"
> 		retry="5 +"
> serverID	2
> mirrormode	on
> database	monitor
> `???????????????????????????????????????????????????????????????


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/