Bug#175710: python-ldap modlist patch
cavok at filibusta.crema.unimi.it
Sat Apr 19 22:39:03 CEST 2003
the patch you are referring to is already in the python-ldap version i'm
using and the problem is right in the "modlist.append((ldap.MOD_DELETE,attrtype,None))".
the error i get is from deletion of an inexistent entry.
i attached an example to reproduce the bug.
On Fri, Apr 04, 2003 at 08:53:06PM +1000, Peter Hawkins wrote:
> Well, I'm not sure but I think I already fixed this in a different way:
> "Replace an attribute value by deleting it completely and re-add the whole
> attribute value list. This is necessary to make it work with attributes for
> which no matching rules are implemented. The caveat is that it might trigger
> mor attribute indexing depending on LDAP server implementation."
-----[ Domenico Andreoli, aka cavok
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
More information about the python-ldap