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

(ITS#5584) memberof and modify: replace with 0 new entries



Full_Name: Andrew Bartlett
Version: CVS HEAD
OS: Fedora 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (59.167.251.137)


The memberOf plugin asserts if I attempt a modify like:

(snippet from our python test script, using ldb, but I hope you get the idea)

        ldb.modify_ldif("""
dn: cn=ldaptestgroup2,cn=users,""" + self.base_dn + """
changetype: modify
replace: member
""")
       

slapd: memberof.c:849: memberof_op_modify: Assertion `ml->sml_mod.sm_nvalues !=
((void *)0)' failed.

I think this just needs to be handled like the delete case, which our tests
already show pass correctly.