[389-devel] Please review: [389 Project] #47422: With 1.3.04 and subtree-renaming OFF, when a user is deleted after restarting the server, the same entry can't be added

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/47422

https://fedorahosted.org/389/attachment/ticket/47422/0001-Ticket-47422-With-1.3.04-and-subtree-renaming-OFF-wh.patch

 Bug description:
 {{{
 1) As reported by baburaje12, regardless of the  nsslapd-subtree-
    rename-switch, "entrydn" was not stored in the id2entry db. The
    attribute value had to be stored in the db file if the switch
    was off.  Attribute values to avoid storing in the db file are
    maintained in an array protected_attrs_all statically. "Entrydn"
    should be dynamic depending on the switch.
 2) When the switch is off, import was skipping to generate the
    parentid index, which leads to skipping to create the entrydn,
    as well.
 }}}
 Fix description:
 {{{
 1) Instead of keeping "entrydn" in the protected_attrs_all statically,
    this patch introduces an api set_attr_to_protected_list to add or
    remove "entrydn" based upon the value of nsslapd-subtree-rename-
    switch.
 2) The condition to create a parentid index is fixed to always
    create it if the nsslapd-subtree-rename-switch is off.
 }}}

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux