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
|
return False
|
||||||
|
|
||||||
def update_object(self,dn,old,new):
|
def update_object(self, dn, old, new, ignore_attrs=[]):
|
||||||
ldif = modlist.modifyModlist(old,new)
|
ldif = modlist.modifyModlist(old, new, ignore_attr_types=ignore_attrs)
|
||||||
if ldif == []:
|
if ldif == []:
|
||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue