summaryrefslogtreecommitdiffstats
path: root/ipalib/crud.py
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2011-02-17 16:37:39 -0800
committerRob Crittenden <rcritten@redhat.com>2011-02-17 21:36:50 -0500
commit27532f54687297e5dfa7d66503f22186d7fc3237 (patch)
tree10994433c2ba7ceff3f454fbbfd5a1e8efe2d857 /ipalib/crud.py
parenteab4e36ee50a4d924d7889a167f4917fa9bf6136 (diff)
downloadfreeipa-27532f54687297e5dfa7d66503f22186d7fc3237.tar.gz
freeipa-27532f54687297e5dfa7d66503f22186d7fc3237.tar.xz
freeipa-27532f54687297e5dfa7d66503f22186d7fc3237.zip
Reset target DN when generated UUID is used as RDN
When the UUID plug-in generates a value that is used in the RDN of the entry being added, the old DN is free'd and replaced with the new DN. The problem is that the operation in the pblock holds a pointer to the old DN address. This can cause other plug-ins to reference garbage, leading to incorrect results or crashes. This was causing the attribute uniqueness plug-in to not work correctly, resulting in duplicate netgroup entries. The fix is to have the UUID plug-in reset the target DN after changing the DN of the entry to be added. ticket 963
Diffstat (limited to 'ipalib/crud.py')
0 files changed, 0 insertions, 0 deletions