s4 upgradeprovision, fix a typo preventing the ridset to be correctly identified
[kai/samba.git] / source4 / scripting / bin / upgradeprovision
index deb50e36fbb26d5ca4f336f0c5583542bd22f652..23c511f08127ddf2728944d284efcf7c3e433a85 100755 (executable)
@@ -543,7 +543,7 @@ def add_missing_object(ref_samdb, samdb, dn, names, basedn, hash, index):
     try:
         if str(reference[0].get("cn"))  == "RID Set":
             for klass in reference[0].get("objectClass"):
-                if str(klass).lower == "ridset":
+                if str(klass).lower() == "ridset":
                     skip = True
     finally:
         if delta.get("objectSid"):