diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-02-17 18:14:06 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-02-19 06:08:19 +0100 |
commit | 396df64ef6f2c66c35989ecda3e564d5578fe9f3 (patch) | |
tree | d524e213916f632f55192615a0d811f7981fd9bd /source4/scripting/bin/samba_upgradeprovision | |
parent | 2c2759e408d9c45c2aee0c2578f45edd246afec3 (diff) | |
download | samba-396df64ef6f2c66c35989ecda3e564d5578fe9f3.tar.gz samba-396df64ef6f2c66c35989ecda3e564d5578fe9f3.tar.bz2 samba-396df64ef6f2c66c35989ecda3e564d5578fe9f3.zip |
scripting: Make tdb_copy a common util function in samba.tdb_util
This will allow samba_upgradeprovision to also call it.
Andrew Bartlett
Reviewed-by: Matthieu Patou <mat@samba.org>
Diffstat (limited to 'source4/scripting/bin/samba_upgradeprovision')
-rwxr-xr-x | source4/scripting/bin/samba_upgradeprovision | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/bin/samba_upgradeprovision b/source4/scripting/bin/samba_upgradeprovision index 570f7839fc..b249b4e32d 100755 --- a/source4/scripting/bin/samba_upgradeprovision +++ b/source4/scripting/bin/samba_upgradeprovision @@ -40,6 +40,7 @@ import samba.getopt as options from base64 import b64encode from samba.credentials import DONT_USE_KERBEROS from samba.auth import system_session, admin_session +from samba import tdb_util from ldb import (SCOPE_SUBTREE, SCOPE_BASE, FLAG_MOD_REPLACE, FLAG_MOD_ADD, FLAG_MOD_DELETE, MessageElement, Message, Dn, LdbError) |