diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/provision.ldif | 3 | ||||
-rwxr-xr-x | source4/script/provision.pl | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source4/provision.ldif b/source4/provision.ldif index 2497b2cb7a..ba204285fb 100644 --- a/source4/provision.ldif +++ b/source4/provision.ldif @@ -472,6 +472,8 @@ operatingSystemVersion: 4.0 dNSHostName: ${DNSNAME} objectCategory: CN=Computer,CN=Schema,CN=Configuration,${BASEDN} isCriticalSystemObject: TRUE +unicodePwd: ${RANDPASS} +servicePrincipalName: HOST/${DNSNAME} dn: CN=krbtgt,CN=Users,${BASEDN} objectClass: top @@ -506,6 +508,7 @@ sAMAccountType: 805306368 servicePrincipalName: kadmin/changepw objectCategory: CN=Person,CN=Schema,CN=Configuration,${BASEDN} isCriticalSystemObject: TRUE +unicodePwd: ${RANDPASS} dn: CN=Domain Computers,CN=Users,${BASEDN} objectClass: top diff --git a/source4/script/provision.pl b/source4/script/provision.pl index 4b51e9611b..c00511f373 100755 --- a/source4/script/provision.pl +++ b/source4/script/provision.pl @@ -137,6 +137,10 @@ sub substitute($) return $opt_adminpass; } + if ($var eq "RANDPASS") { + return randpass(); + } + if ($var eq "NTTIME") { return "" . nttime(); } |