Fixed a bug caused by a typo. Infrastructure role didn't work.
[ira/wip.git] / source4 / scripting / python / samba / netcmd / fsmo.py
index 6bfc2eff0a131fb0e1d2302289b7b884a9f4e577..171b89a2aab9bcd6a65b9e0810653a1dc9518062 100644 (file)
@@ -104,7 +104,7 @@ all=all of the above"""),
         elif role == "naming":
             m.dn = ldb.Dn(samdb, self.naming_dn)
         elif role == "infrastructure":
         elif role == "naming":
             m.dn = ldb.Dn(samdb, self.naming_dn)
         elif role == "infrastructure":
-            m.dn = ldb.Dn(samdb, self.indrastructure_dn)
+            m.dn = ldb.Dn(samdb, self.infrastructure_dn)
         elif role == "schema":
             m.dn = ldb.Dn(samdb, self.schema_dn)
         else:
         elif role == "schema":
             m.dn = ldb.Dn(samdb, self.schema_dn)
         else: