fix bug when removing attributes from source outside the permitted attributes
This commit is contained in:
parent
6e0e7a360e
commit
7feabe70e7
|
@ -228,7 +228,7 @@ class Synchronize(object):
|
|||
entries = list(self.source)
|
||||
entries.sort(key=lambda (dn, entry): len(str2dn(dn)))
|
||||
for dn, entry in entries:
|
||||
for key in entry:
|
||||
for key in entry.keys():
|
||||
if not key in self.attributes:
|
||||
del entry[key]
|
||||
# First create, rename and update
|
||||
|
|
Loading…
Reference in New Issue