LdapServer :: update_object() : add ignore_attrs parameter
Benjamin Renard

Benjamin Renard commited on 2018-02-16 09:52:30
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -71,8 +71,8 @@ class LdapServer(object):
71 71
 
72 72
 		return False
73 73
 
74
-	def update_object(self,dn,old,new):
75
-		ldif = modlist.modifyModlist(old,new)
74
+	def update_object(self, dn, old, new, ignore_attrs=[]):
75
+		ldif = modlist.modifyModlist(old, new, ignore_attr_types=ignore_attrs)
76 76
 		if ldif == []:
77 77
 			return True
78 78
 		try:
79 79