summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-12-06 14:43:45 +1100
committerAmitay Isaacs <amitay@samba.org>2012-01-31 00:49:07 +0100
commit449ca7575904e4ed78f2696bb16cef5143761bbc (patch)
tree2cbd358c3dde288f8bad89c51d5ccbe69f2a4604 /source4/scripting/python
parent1fdc96ecaff8ca12e9aa0082527468ad4242a8a9 (diff)
downloadsamba-449ca7575904e4ed78f2696bb16cef5143761bbc.tar.gz
samba-449ca7575904e4ed78f2696bb16cef5143761bbc.tar.bz2
samba-449ca7575904e4ed78f2696bb16cef5143761bbc.zip
s4-s3-upgrade: Use lowercase hostname as hostname for provision
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgrade.py b/source4/scripting/python/samba/upgrade.py
index 3a428604cb..e9f72e9a6e 100644
--- a/source4/scripting/python/samba/upgrade.py
+++ b/source4/scripting/python/samba/upgrade.py
@@ -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)