1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2008-01-24 16:25:35 +11:00
parent ae2ea1bd0c
commit be5eb2da24

View File

@ -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;