Forwarding on...
--Quanah
------------ Forwarded Message ------------ Date: Tuesday, September 29, 2009 1:54 PM +0100 From: Alister Winfield Alister.Winfield@sns.bskyb.com To: Quanah Gibson-Mount quanah@zimbra.com Subject: RE: (ITS#6201) Double free in syncprov
Sorry I thought I'd sent something. Sadly the test server had to go onto a live service so I don't have the original configuration but I do remember what was happening. Roughly the configuration looked something like..
MASTER ------
database hdb suffix "ou=branch1,dc=test" directory "/data/ldap/branch1" checkpoint 128 5 subordinate overlay syncprov syncprov-checkpoint 1000 10 syncprov-sessionlog 1000
database hdb suffix "ou=branch2,dc=test" directory "/data/ldap/branch2" checkpoint 128 5 subordinate overlay syncprov syncprov-checkpoint 1000 10 syncprov-sessionlog 1000
database hdb suffix "dc=test" rootdn "cn=replica,dc=test" directory "/data/ldap/root" checkpoint 128 5 syncprov-checkpoint 1000 10 syncprov-sessionlog 1000
overlay glue overlay syncprov
Note that the glue is before the syncprov not exactly sane as it means that the last sync provider covers the whole database which is overlapping with the other two databases. The slaves config mirrors the master with each database being replicated individually. So its configuration looked like.
SLAVE ------
database hdb suffix "ou=branch1,dc=test" directory "/data/ldap/branch1" checkpoint 128 5 subordinate syncrepl rid=001 provider="ldap://10.0.0.1/" type=RefreshAndPersist binddn="cn=replica,dc=test" bindmethod=simple credentials=password searchbase="ou=branch1,dc=sky,dc=com" retry="10 +" timeout=30
database hdb suffix "ou=branch2,dc=test" directory "/data/ldap/branch2" checkpoint 128 5 subordinate syncrepl rid=002 provider="ldap://10.0.0.1/" type=RefreshAndPersist binddn="cn=replica,dc=test" bindmethod=simple credentials=password searchbase="ou=branch2,dc=test" retry="10 +" timeout=30
database hdb suffix "dc=test" rootdn "cn=replica,dc=test" directory "/data/ldap/root" checkpoint 128 5 overlay glue
syncrepl rid=003 provider="ldap://10.0.0.1/" type=RefreshAndPersist binddn="cn=replica,dc=test" bindmethod=simple credentials=password searchbase="dc=test" retry="10 +" timeout=30
Make lots of changes under the branches and sooner or later I'd get the double free.
Hopefully I remembered the situation correctly.
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: 29 September 2009 00:56 To: openldap-its@openldap.org; Alister Winfield Subject: RE: (ITS#6201) Double free in syncprov
--On Thursday, July 09, 2009 4:54 PM +0000 quanah@zimbra.com wrote:
--On Thursday, July 09, 2009 10:18 AM +0000 Alister.Winfield@sns.bskyb.com wrote:
I think I have it (bad configuration)...
Okay so it might be a configuration 'error' but I guess its worth trying to= avoid the crash.
Hi Alister,
Can you provide an example of your misconfigured slapd for ease of debugging? Obviously, this is non-critical but I agree it would be nice to make sure this sort of configuration error is caught more gracefully.
Ping? Without said info, this ITS will be closed.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD.
---------- End Forwarded Message ----------
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration