Bug 429005
Summary: | Enhancement: ModifyDN with new superior feature | ||
---|---|---|---|
Product: | [Retired] 389 | Reporter: | Andrey Ivanov <andrey.ivanov> |
Component: | Directory Server | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> |
Severity: | low | Docs Contact: | |
Priority: | high | ||
Version: | 1.1.0 | CC: | abartlet, amsharma, francois.beretti, nhosoi, rmeggins, sliabat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-07 16:45:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 543590, 639035 |
Description
Andrey Ivanov
2008-01-16 18:57:37 UTC
The thing that is really causing us troubles in using our remediating script (the one that reads all the attributes, deletes the original entry and then adds a new entry in the new "ou") is that it changes the nsUniqueId which is used in turn as unique identifier for a person. So the feature "ModifyDN with new superior" preserving the nsUniqueId is really important. We also need this (and full subtree renames) for Samba4. My company also needs this feature, as long as full subtree move/rename. For the moment we use the displayName as the name of an entry in our GUI, which allows us to rename it (since it is not in the RDN) if it has subentries. But when using an LDAP browser and not our GUI, it's hard to identify our entries. Why you don't implement this ldap V3 feature ? It's a LDAP V3 feature, not a goodies. OpenLDAP implement this feature and it's on road map of Fedora Directory server 1.3 ? We need this ldap V3 functionnality. Thanks in advance. Thanks to Andrey, Rich, and Nathan who reviewed and commented on the patch. The change has been pushed to master. I also put the latest patch here: http://nhosoi.fedorapeople.org/0001-Allow-modrdn-to-move-subtree-and-rename-non-leaf-nod.patch This patch includes - replacing the entrydn index with the entryrdn index - replacing a full DN in each entry in the DB with an RDN - extending Slapi_Entry, entry2str, and str2entry to absorb the changes made on the entry - adding DN/RDN helper functions - adding DN cache - adding a utility and a migration script to convert the DN format database to the RDN format - extending a database dump utility dbscan to support the entryrdn - slapi_dn_syntax_check by nkinder is added to check the dn before modify operations - big fix for 171338 - Enhancement: winsync modrdn not synced In addition to the above, compile warnings and memory leaks found in testing the new feature are fixed. For more details, see the feature design document at: http://directory.fedoraproject.org/wiki/Subtree_Rename and bugzilla at: https://bugzilla.redhat.com/show_bug.cgi?id=171338 This is tested under subtree renaming test suit. I am marking it as VERIFIED. |