diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-08-28 04:28:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:02:58 -0500 |
commit | 73388ce54c5910ee407af6b70e25597d0b696a58 (patch) | |
tree | 346cce5e112945c2f7792d63d1c063972cec8341 /source4/scripting/libjs | |
parent | 2fefa818a95138fc7d6508093f426cb4ed92138f (diff) | |
download | samba-73388ce54c5910ee407af6b70e25597d0b696a58.tar.gz samba-73388ce54c5910ee407af6b70e25597d0b696a58.tar.bz2 samba-73388ce54c5910ee407af6b70e25597d0b696a58.zip |
r24729: First try and publishing a DNS service account, for folks to play with.
The keytab in dns.keytab should (I hope) do the job.
Andrew Bartlett
(This used to be commit af4d331eef91ef7699d179d15e7337fff1eff7bb)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r-- | source4/scripting/libjs/provision.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 6ec29748f6..57531a28b9 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -379,6 +379,7 @@ function provision_default_paths(subobj) paths.samdb = lp.get("sam database"); paths.secrets = lp.get("secrets database"); paths.keytab = "secrets.keytab"; + paths.dns_keytab = "dns.keytab"; paths.dns = lp.get("private dir") + "/" + dnsdomain + ".zone"; paths.named_conf = lp.get("private dir") + "/named.conf"; paths.winsdb = "wins.ldb"; @@ -469,6 +470,7 @@ function provision_fix_subobj(subobj, paths) subobj.SAM_LDB = "tdb://" + paths.samdb; subobj.SECRETS_KEYTAB = paths.keytab; + subobj.DNS_KEYTAB = paths.dns_keytab; subobj.LDAPDIR = paths.ldapdir; var ldap_path_list = split("/", paths.ldapdir); @@ -891,6 +893,7 @@ function provision_guess() subobj.POLICYGUID = randguid(); subobj.KRBTGTPASS = randpass(12); subobj.MACHINEPASS = randpass(12); + subobj.DNSPASS = randpass(12); subobj.ADMINPASS = randpass(12); subobj.LDAPMANAGERPASS = randpass(12); subobj.DEFAULTSITE = "Default-First-Site-Name"; |