[python-ldap] modifyModlist : are old and new values get compared somehow ?

mh at ow2.org mh at ow2.org
Mon Nov 30 06:45:20 EST 2015


Hi,

In the following code,

    old = {'attr':['oldvalue']}
    new = {'attr':['newvalue']}

    mod = modlist.modifyModlist(old,new)

    l.modify_s(dn,mod)


I'm not sure to fully understand the documentation ; it seems the new
attribute value is modified in all case - whatever the value stored in
old attr ; in this case what's the point in specifying an 'oldvalue' ?

Thanks,


More information about the python-ldap mailing list