Paul Wankadia wrote:
> On Fri, Sep 19, 2008 at 6:12 PM, Michael Ströder <[EMAIL PROTECTED]> wrote:
>
>>> The current implementation of modifyModlist() clashed with some ACLs
>>> because it touches too many values. :/
>> I don't fully understand. Do you have ACLs based on certain attribute
>> value
Paul Wankadia wrote:
> The current implementation of modifyModlist() clashed with some ACLs
> because it touches too many values. :/
I don't fully understand. Do you have ACLs based on certain attribute
values? It would be probably a good idea to mention these issues in the
docs.
> Here's a repla
list - the result
> being that nothing gets updated.
>
> Here's some examples:
>
> modlist = ldap.modlist.modifyModlist({"givenName": "Fred"}, {"givenName":
> "Bob"})
> print str(modlist)
> [(1, 'givenName', None), (0, &
I've been using ldap.compare_s(), ldap.modlist.modifyModlist() and
ldap_modify_s() to keep an OpenLDAP database up to date from an
external datasource.
I've just noticed, however, that when the old and new entry consist of
the same characters but in a different order (as occurs whe