r12704: role => server role
authorJelmer Vernooij <jelmer@samba.org>
Tue, 3 Jan 2006 21:20:48 +0000 (21:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:49:43 +0000 (13:49 -0500)
source/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");
                }
        }