s4-s3-upgrade: Use lowercase hostname as hostname for provision
authorAmitay Isaacs <amitay@gmail.com>
Tue, 6 Dec 2011 03:43:45 +0000 (14:43 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 30 Jan 2012 23:49:07 +0000 (00:49 +0100)
source4/scripting/python/samba/upgrade.py

index 3a428604cb732be6061e141ae25855a100909c8e..e9f72e9a6e93e1f5de9c2a8af059e5ce6bc18acd 100644 (file)
@@ -636,7 +636,7 @@ Please fix this account before attempting to upgrade again
                        domainsid=str(domainsid), next_rid=next_rid,
                        dc_rid=machinerid,
                        dom_for_fun_level=dsdb.DS_DOMAIN_FUNCTION_2003,
-                       hostname=netbiosname, machinepass=machinepass,
+                       hostname=netbiosname.lower(), machinepass=machinepass,
                        serverrole=serverrole, samdb_fill=FILL_FULL,
                        useeadb=useeadb, dns_backend=dns_backend)