freeipa/ipaserver
Martin Kosek 917a480675 Add safe updates for objectClasses
Current objectclass updates in a form of "replace" update instruction
dependent on exact match of the old object class specification in the
update instruction and the real value in LDAP. However, this approach is
very error prone as object class definition can easily differ as for
example because of unexpected X-ORIGIN value. Such objectclass update
failures may lead to serious malfunctions later.

When comparing the objectclasses, make sure we normalize them both
before we compare them to mitigate these kinds of errors. python-ldap's
objectclass model can be utilized to do the normalization part.

One objectclass update instruction was changed to do a replace of
an objectclass separately from add update instruction so that we
really only replace what's stored in LDAP.

https://fedorahosted.org/freeipa/ticket/2440
2012-09-04 22:45:27 -04:00
..
install Add safe updates for objectClasses 2012-09-04 22:45:27 -04:00
plugins Internationalization for public errors 2012-09-03 18:16:12 +02:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
dcerpc.py Add internationalization to DCE RPC code 2012-08-14 16:51:21 +02:00
ipaldap.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
rpcserver.py Internationalization for public errors 2012-09-03 18:16:12 +02:00