diff options
author | Matthieu Patou <mat@matws.net> | 2010-10-23 22:00:04 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2010-11-12 19:40:21 +0000 |
commit | 757764ab1bb3056377f050fd91b43bbc45a3c7a2 (patch) | |
tree | 482c13ae02367cc10b4ace2f503aea0b29be24de /source4 | |
parent | add39bc40bc89d2f3fac86f1cddea3947caafbfa (diff) | |
download | samba-757764ab1bb3056377f050fd91b43bbc45a3c7a2.tar.gz samba-757764ab1bb3056377f050fd91b43bbc45a3c7a2.tar.bz2 samba-757764ab1bb3056377f050fd91b43bbc45a3c7a2.zip |
upgradeprovision: use the (upgrade)provision control also
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/scripting/bin/upgradeprovision | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision index cd3adc92c7..4dd8f533be 100755 --- a/source4/scripting/bin/upgradeprovision +++ b/source4/scripting/bin/upgradeprovision @@ -490,7 +490,7 @@ def handle_special_add(samdb, dn, names): if len(res) > 0 and len(res2) == 0: message(CHANGE, "Existing object %s must be replaced by %s," "Renaming old object" % (str(oldDn), str(dn))) - samdb.rename(oldDn, objDn, ["relax:0"]) + samdb.rename(oldDn, objDn, ["relax:0", "local_oid:1.3.6.1.4.1.7165.4.3.16:0"]) return 0 @@ -602,7 +602,7 @@ def add_missing_object(ref_samdb, samdb, dn, names, basedn, hash, index): delta.dn = dn if not skip: message(CHANGE,"Object %s will be added" % dn) - samdb.add(delta, ["relax:0"]) + samdb.add(delta, ["relax:0", "local_oid:1.3.6.1.4.1.7165.4.3.16:0"]) else: message(CHANGE,"Object %s was skipped" % dn) |