LdapServer :: update_object() : add ignore_attrs parameter
This commit is contained in:
parent
a525bd586b
commit
f5771ca698
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ class LdapServer(object):
|
|||
|
||||
return False
|
||||
|
||||
def update_object(self,dn,old,new):
|
||||
ldif = modlist.modifyModlist(old,new)
|
||||
def update_object(self, dn, old, new, ignore_attrs=[]):
|
||||
ldif = modlist.modifyModlist(old, new, ignore_attr_types=ignore_attrs)
|
||||
if ldif == []:
|
||||
return True
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue