s4 upgradeprovision, fix a typo preventing the ridset to be correctly identified
authorMatthieu Patou <mat@matws.net>
Mon, 9 Aug 2010 20:54:50 +0000 (00:54 +0400)
committerMatthieu Patou <mat@matws.net>
Mon, 9 Aug 2010 20:57:20 +0000 (00:57 +0400)
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"):