diff --git a/LdapServer.py b/LdapServer.py index 3ef0752..9165746 100644 --- a/LdapServer.py +++ b/LdapServer.py @@ -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: