Issue 6663 - refint not altering last attribute on delete
Summary: refint not altering last attribute on delete
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: 2.4.21
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 21:14 UTC by knewell@math.arizona.edu
Modified: 2014-08-01 21:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description knewell@math.arizona.edu 2010-10-04 21:14:46 UTC
Full_Name: Karl Newell
Version: 2.4.21
OS: Ubuntu 10.04
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (128.196.224.235)


refint does not alter the value of an attribute to refint_nothing when the last
"member" of a group is deleted.  refint is working when the dn of a member is
modified.

slapd.conf:
loglevel 16383
...
moduleload refint
...
overlay refint
refint_attributes member uniqueMember seeAlso
refint_nothing cn=Manager,dc=math,dc=arizona,dc=edu
...

ldap.log (what I believe to be the relevant entries):
...
Oct  4 14:12:03 vm-ldap slapd[8744]: refint_search_cb <cn=LDAP
Admins,ou=Groups,dc=math,dc=arizona,dc=edu>
Oct  4 14:12:03 vm-ldap slapd[8744]: refint_search_cb: uniqueMember:
uid=atb,ou=Users,dc=math,dc=arizona,dc=edu (#1)
Oct  4 14:12:03 vm-ldap slapd[8744]: send_ldap_result: conn=-1 op=0 p=0
Oct  4 14:12:03 vm-ldap slapd[8744]: send_ldap_result: err=0 matched="" text=""
Oct  4 14:12:03 vm-ldap slapd[8744]: refint_search_cb <NOTHING>
Oct  4 14:12:03 vm-ldap slapd[8744]: hdb_modify: cn=LDAP
Admins,ou=Groups,dc=math,dc=arizona,dc=edu
Oct  4 14:12:03 vm-ldap slapd[8744]: bdb_dn2entry("cn=ldap
admins,ou=groups,dc=math,dc=arizona,dc=edu")
Oct  4 14:12:03 vm-ldap slapd[8744]: bdb_modify_internal: 0x00000008: cn=LDAP
Admins,ou=Groups,dc=math,dc=arizona,dc=edu
Oct  4 14:12:03 vm-ldap slapd[8744]: <= acl_access_allowed: granted to database
root
Oct  4 14:12:03 vm-ldap slapd[8744]: bdb_modify_internal: delete uniqueMember
Oct  4 14:12:03 vm-ldap slapd[8744]: dnMatch
0#012#011"uid=atb,ou=users,dc=math,dc=arizona,dc=edu"#012#011"uid=atb,ou=users,dc=math,dc=arizona,dc=edu"
Oct  4 14:12:03 vm-ldap slapd[8744]: bdb_modify_internal: replace modifiersName
Oct  4 14:12:03 vm-ldap slapd[8744]: bdb_modify_internal: delete uniqueMember
Oct  4 14:12:03 vm-ldap slapd[8744]: bdb_modify_internal: 16 modify/delete:
uniqueMember: no such attribute
Oct  4 14:12:03 vm-ldap slapd[8744]: hdb_modify: modify failed (16)
Oct  4 14:12:03 vm-ldap slapd[8744]: send_ldap_result: conn=-1 op=0 p=0
Oct  4 14:12:03 vm-ldap slapd[8744]: send_ldap_result: err=16 matched=""
text="modify/delete: uniqueMember: no such attribute"
Oct  4 14:12:03 vm-ldap slapd[8744]: refint_repair: dependent modify failed: 16
...
Comment 1 ando@openldap.org 2010-10-08 00:51:35 UTC
changed notes
Comment 2 Hallvard Furuseth 2010-12-01 01:49:09 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 3 Hallvard Furuseth 2010-12-01 10:23:52 UTC
knewell@math.arizona.edu writes:
> refint does not alter the value of an attribute to refint_nothing when
> the last "member" of a group is deleted.

Fixed in CVS HEAD.

-- 
Hallvard

Comment 4 Quanah Gibson-Mount 2011-01-03 15:42:03 UTC
changed notes
changed state Test to Release
Comment 5 Quanah Gibson-Mount 2011-02-14 12:31:02 UTC
changed notes
changed state Release to Closed
Comment 6 OpenLDAP project 2014-08-01 21:04:31 UTC
Fixed in HEAD
Fixed in RE24