summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-23 04:31:10 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 04:31:10 +0200
commit4b701a265fa99f5490382168d369e8a9d994ed35 (patch)
tree9a8682116605dae9b839692eb701c8f0f1ec9c53 /source4
parenta9c96b2e7b9d7d894b194d520e4925e772ca0247 (diff)
downloadsamba-4b701a265fa99f5490382168d369e8a9d994ed35.tar.gz
samba-4b701a265fa99f5490382168d369e8a9d994ed35.tar.bz2
samba-4b701a265fa99f5490382168d369e8a9d994ed35.zip
Fix imports for provision-backend.
This needs a blackbox test... (This used to be commit 268c1de095411991ffb22ee835bfb88f8bce235a)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/setup/provision-backend9
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/setup/provision-backend b/source4/setup/provision-backend
index 4f222c467a..54dc5839bf 100755
--- a/source4/setup/provision-backend
+++ b/source4/setup/provision-backend
@@ -22,14 +22,17 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+import os, sys
+
+sys.path.insert(0, "bin/python")
+
import getopt
import optparse
-import os, sys
import samba
-import param
+from samba import param
-from auth import system_session
+from samba.auth import system_session
import samba.getopt as options
from samba.provision import (provision_backend)