diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-24 16:25:35 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-01-24 16:25:35 +1100 |
commit | 6e5c528f87dee7ec0b1fe1ab9c6f48cea32164bc (patch) | |
tree | 52b88fff6623eaa6243d1c7e3eee2cdf5e67116e | |
parent | 48e79659d1a81bb5a5dd3932f9e8f7c0b1a99947 (diff) | |
download | samba-6e5c528f87dee7ec0b1fe1ab9c6f48cea32164bc.tar.gz samba-6e5c528f87dee7ec0b1fe1ab9c6f48cea32164bc.tar.bz2 samba-6e5c528f87dee7ec0b1fe1ab9c6f48cea32164bc.zip |
Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
Andrew Bartlett
(This used to be commit be5eb2da241452ccc0526f4f115aa44c0793c351)
-rw-r--r-- | source4/scripting/libjs/provision.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index 4cb717bde8..e71498010c 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -524,6 +524,10 @@ function provision_become_dc(subobj, message, erase, paths, session_info) var ok = provision_fix_subobj(subobj, paths); assert(ok); + if (subobj.BACKEND_MOD == undefined) { + subobj.BACKEND_MOD = "repl_meta_data"; + } + info.subobj = subobj; info.message = message; info.session_info = session_info; |