r12704: role => server role
[ira/wip.git] / source4 / scripting / libjs / upgrade.js
index 51818487eb6b93767c52a2d0112df95da13fab89..158e22eadd6500abd549600522c3c10f4d9fd18a 100644 (file)
@@ -499,15 +499,15 @@ function upgrade_smbconf(oldconf,mark)
 
        if (oldconf.get("domain logons") == "True") {
                if (oldconf.get("domain master") == "True") {
-                       newconf.set("role", "pdc");
+                       newconf.set("server role", "pdc");
                } else {
-                       newconf.set("role", "bdc");
+                       newconf.set("server role", "bdc");
                }
        } else {
                if (oldconf.get("domain master") == "True") {
-                       newconf.set("role", "standalone");
+                       newconf.set("server role", "standalone");
                } else {
-                       newconf.set("role", "member server");
+                       newconf.set("server role", "member server");
                }
        }