summaryrefslogtreecommitdiff
path: root/source4/scripting/devel
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-05-20 19:43:19 +0400
committerMatthieu Patou <mat@samba.org>2011-05-21 08:41:07 +0200
commit6071ed67bf413b0f9245be9038e2e600d8ebb5aa (patch)
tree3abb8229d829395b2aee32804018c3335e6fc685 /source4/scripting/devel
parent4360c5bf276aa958864254ee22b3a3d4a4560381 (diff)
downloadsamba-6071ed67bf413b0f9245be9038e2e600d8ebb5aa.tar.gz
samba-6071ed67bf413b0f9245be9038e2e600d8ebb5aa.tar.bz2
samba-6071ed67bf413b0f9245be9038e2e600d8ebb5aa.zip
s4-python: move function find_provision_key_parameters to provision namespace as it can be used not only for upgradeprovision
Diffstat (limited to 'source4/scripting/devel')
-rwxr-xr-xsource4/scripting/devel/chgtdcpass3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/devel/chgtdcpass b/source4/scripting/devel/chgtdcpass
index dc249834e0..4f5ea15a80 100755
--- a/source4/scripting/devel/chgtdcpass
+++ b/source4/scripting/devel/chgtdcpass
@@ -29,8 +29,9 @@ import samba.getopt as options
from samba.credentials import DONT_USE_KERBEROS
from samba.auth import system_session
from samba import param
+from samba.provision import find_provision_key_parameters
from samba.upgradehelpers import (get_paths,
- find_provision_key_parameters, get_ldbs,
+ get_ldbs,
update_machine_account_password)
parser = optparse.OptionParser("chgtdcpass [options]")