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

Re: (ITS#4040) slapd dies when syncrepl'ing an entry with empty uniqueMember attributes



Thanks for the report. The bug was generic to the uniqueMember syntax, 
not specific to syncrepl. This is now fixed in CVS HEAD.

michail.bachmann@cms.hu-berlin.de wrote:
> Full_Name: Michail Bachmann
> Version: 2.3.7
> OS: Linux 2.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (212.202.40.132)
>
>
>
> slapd dies with this error:
>
> slapd: dn.c:946: dnMatch: Assertion `!((value)->bv_val == ((void *)0))' failed.
>
> AFAICS this happens when syncrepl tries to read an entry which has an empty 
> uniqueMember attribute.
>
> This minimal LDIF-file triggers this bug:
>
> ----
> dn: o=myOrganization,c=DE
> objectClass: organization
> o: myOrganization
> structuralObjectClass: organization
>
> dn: cn=tst,o=myOrganization,c=DE
> cn: tst
> uniqueMember: cn=user1,o=myOrganization,c=de
> uniqueMember:
> uniqueMember: cn=user3,o=myOrganization,c=de
> objectClass: top
> objectClass: groupOfUniqueNames
> structuralObjectClass: groupOfUniqueNames
> ----
>
> Thanks in advance
>
> CU Micha
>
>
>   


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