--- python/samba/ms_schema.py.orig 2018-03-15 15:23:25.000000000 +0300 +++ python/samba/ms_schema.py 2018-03-15 15:23:31.000000000 +0300 @@ -277,7 +277,7 @@ header.append(["objectGUID", str(uuid.uuid4()), False]) - entry = header + [x for x in entry if x[0].lower() not in {'dn', 'changetype', 'objectcategory'}] + entry = header + [x for x in entry if x[0].lower() not in ['dn', 'changetype', 'objectcategory']] return entry