s4:provision - important fix for DNS domainname: lower realm
[ira/wip.git] / source4 / scripting / python / samba / provision.py
index f6236ccb7dcec92e56d242db449503a2d59f43a5..10f4845fdf8250b436335e3034ff549bc90b68d7 100644 (file)
@@ -1266,7 +1266,7 @@ def provision(setup_dir, message, session_info,
     lp.load(smbconf)
 
     names = guess_names(lp=lp, hostname=hostname, domain=domain, 
-                        dnsdomain=realm, serverrole=serverrole, sitename=sitename,
+                        dnsdomain=realm.lower(), serverrole=serverrole, sitename=sitename,
                         rootdn=rootdn, domaindn=domaindn, configdn=configdn, schemadn=schemadn,
                         serverdn=serverdn)