summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-09-21 11:59:33 -0700
committerAndrew Bartlett <abartlet@samba.org>2009-09-21 11:59:33 -0700
commit8738b83a446ef667bc162b04affc17dbba7e58a8 (patch)
tree1dc28dc41b6440c2ff1b69b89959ac20ce951373
parente440a2e11e78a562f97971c0dfe0cf3f694996ff (diff)
downloadsamba-8738b83a446ef667bc162b04affc17dbba7e58a8.tar.gz
samba-8738b83a446ef667bc162b04affc17dbba7e58a8.tar.bz2
samba-8738b83a446ef667bc162b04affc17dbba7e58a8.zip
s4:provision Make our default salt match our server behaviour
We need to look into salting algorithms further. Andrew Bartlett
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 9a41709830..af706d08dd 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -687,7 +687,7 @@ def secretsdb_self_join(secretsdb, domain,
dnsdomain = realm.lower()
msg["objectClass"] = ["top", "primaryDomain", "kerberosSecret"]
msg["realm"] = realm
- msg["saltPrincipal"] = "host/%s.%s@%s" % (netbiosname.lower(), dnsdomain.lower(), realm.upper())
+ msg["saltPrincipal"] = "host/%s.%s@%s" % (netbiosname, dnsdomain.lower(), realm.upper())
msg["msDS-KeyVersionNumber"] = [str(key_version_number)]
msg["privateKeytab"] = ["secrets.keytab"];