summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-07 11:54:31 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-07 13:22:02 +1100
commit1f533bff17ade8c625a87504787dee6207f272e2 (patch)
treeb2b62e3cf4a45ae421004925de4925b36cbf5b21
parentd0f54702c5210e910f29e7067409495c8c186752 (diff)
downloadsamba-1f533bff17ade8c625a87504787dee6207f272e2.tar.gz
samba-1f533bff17ade8c625a87504787dee6207f272e2.tar.bz2
samba-1f533bff17ade8c625a87504787dee6207f272e2.zip
s4-provision: added setup_path() import in two more places
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xsource4/scripting/bin/upgradeprovision2
-rw-r--r--source4/scripting/python/samba/provision/backend.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index ff15dc5f55..5b09ce6d32 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -47,7 +47,7 @@ from samba import param, dsdb, Ldb
from samba.provision import (get_domain_descriptor,
get_config_descriptor,
ProvisioningError, get_last_provision_usn,
- get_max_usn, update_provision_usn)
+ get_max_usn, update_provision_usn, setup_path)
from samba.schema import get_linked_attributes, Schema, get_schema_descriptor
from samba.dcerpc import security, drsblobs, xattr
from samba.ndr import ndr_unpack
diff --git a/source4/scripting/python/samba/provision/backend.py b/source4/scripting/python/samba/provision/backend.py
index 0ab389b483..f9dbba85f6 100644
--- a/source4/scripting/python/samba/provision/backend.py
+++ b/source4/scripting/python/samba/provision/backend.py
@@ -571,6 +571,8 @@ class FDSBackend(LDAPBackend):
ldap_backend_extra_port=None, ldap_dryrun_mode=False, root=None,
setup_ds_path=None):
+ from samba.provision import setup_path
+
super(FDSBackend, self).__init__(backend_type=backend_type,
paths=paths, lp=lp,
credentials=credentials, names=names, logger=logger,