|
From: Bhuvaneswaran A. <bh...@co...> - 2006-09-13 07:34:37
|
Hello,
BUG:
Currently you compare the length of old and new values. So, it does not
recognize the diff when there is no change in length but the actual
string itself is changed (ex: s/usr/var/g). Due to this bug, it returns
empty ldif so subsequent call to modify_s (in my application) fails.
FIX:
Please find attached the patch.
[[
Patch by: Bhuvaneswaran Arumugam <bh...@co...>
Lib/ldap/modlist.py:
* (modifyModlist): Compare the old and new value instead of their
length. When it is compared against the length, it returns empty
ldif even though there is difference between old and new value but
not in length.
]]
--
Regards,
Bhuvaneswaran
|