https://bugs.openldap.org/show_bug.cgi?id=9893

          Issue ID: 9893
           Summary: Unable to create ldap object with same unique value as
                    deleted object
           Product: OpenLDAP
           Version: 2.6.3
          Hardware: x86_64
                OS: Linux
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: overlays
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I have a unique overlay that is trying to ensure uniqueness of two attributes,
mail and uid.

My configdir config for my mdb database:

   dn: olcOverlay={1}unique
   objectClass: olcUniqueConfig
   objectClass: olcOverlayConfig
   olcOverlay: unique
   olcUniqueURI: ldap://?mail?sub
   olcUniqueURI: ldap://?uid?sub
   structuralObjectClass: olcUniqueConfig

If I delete a user, and then go to recreate it, I get this error:

msgtype 105, error 19, constraint violation
non-unique attributes found with (|(uid=jdoe)(givenName=John)(sn=Doe)(cn=John
Doe)([email protected])(userPassword=<password>)(objectClass=inetOrgPerson))

Somehow I believe the unique index structure is broken.

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to