git.samba.org
/
metze
/
samba
/
wb-ndr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae2ea1b
)
Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Jan 2008 05:25:35 +0000
(16:25 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Jan 2008 05:25:35 +0000
(16:25 +1100)
Andrew Bartlett
source/scripting/libjs/provision.js
patch
|
blob
|
history
diff --git
a/source/scripting/libjs/provision.js
b/source/scripting/libjs/provision.js
index 4cb717bde876bb99c9a7d79d7c66b1e8f9747133..e71498010cfdb419e753c8e37f8cf154311c1d98 100644
(file)
--- a/
source/scripting/libjs/provision.js
+++ b/
source/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;