[Freeipa-devel] [PATCH] Correctly handle EmptyModlist exception in pwpolicy2-mod.
Pavel Zuna
pzuna at redhat.com
Mon May 10 13:44:19 UTC 2010
EmptyModlist exception was generated by pwpolicy2-mod when modifying policy
priority only. It was because the priority attribute is stored outside of the
policy entry (in a CoS entry) and there was nothing left to be changed in the
policy entry.
This patch uses the new exception callbacks in baseldap.py classes (introduced
in my recent patch no. 0004) to catch the EmptyModlist exception and checks if
there was really nothing to be modified before reraising the exception.
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pzuna-freeipa-0005-pwpolicy2.patch
Type: application/mbox
Size: 1804 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100510/fd5ad253/attachment.mbox>
More information about the Freeipa-devel
mailing list