summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-02-06 18:29:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:50 -0500
commitb56282dec786683055f65f25ec419113bd7aa297 (patch)
tree271694df8b27cb20cf3aa5d2069e230c6f7c942a /source4/scripting/libjs
parent52f01e20815120f8096a7d268db96a236b898127 (diff)
downloadsamba-b56282dec786683055f65f25ec419113bd7aa297.tar.gz
samba-b56282dec786683055f65f25ec419113bd7aa297.tar.bz2
samba-b56282dec786683055f65f25ec419113bd7aa297.zip
r13369: let's have a way to show the samba4 version through ejs
and use it in provisioning to fullfill rfc 3045 requirements (This used to be commit 3fb9571a76481560304a826fc945983d52123299)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index fe112eeb24..84ed69231b 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -150,7 +150,6 @@ function hostname()
return s[0];
}
-
/* the ldb is in bad shape, possibly due to being built from an
incompatible previous version of the code, so delete it
completely */
@@ -452,6 +451,7 @@ function provision_guess()
assert(subobj.DOMAIN);
assert(subobj.HOSTNAME);
+ subobj.VERSION = version();
subobj.HOSTIP = hostip();
subobj.DOMAINGUID = randguid();
subobj.DOMAINSID = randsid();