summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/samba3dump
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-24 17:56:49 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-26 05:15:07 +0200
commit976eca077d2ea9b44b4b62ae851ca9cc470e3729 (patch)
treeae926cad390b4a64b3cac9c3622f8a4e0b7180c0 /source4/scripting/bin/samba3dump
parent575f1243856f52f87ccb09f1235f1263b7c54b9b (diff)
downloadsamba-976eca077d2ea9b44b4b62ae851ca9cc470e3729.tar.gz
samba-976eca077d2ea9b44b4b62ae851ca9cc470e3729.tar.bz2
samba-976eca077d2ea9b44b4b62ae851ca9cc470e3729.zip
Move some scripts to examples directory since they're not really generically useful.
(This used to be commit 4026493e91f8096e5d602cd42f9a83d2d75042db)
Diffstat (limited to 'source4/scripting/bin/samba3dump')
-rwxr-xr-xsource4/scripting/bin/samba3dump4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/bin/samba3dump b/source4/scripting/bin/samba3dump
index d89667233f..c11f8dbd0d 100755
--- a/source4/scripting/bin/samba3dump
+++ b/source4/scripting/bin/samba3dump
@@ -14,7 +14,7 @@ sys.path.insert(0, "bin/python")
import samba
import samba.samba3
-parser = optparse.OptionParser("provision <libdir> [<smb.conf>]")
+parser = optparse.OptionParser("samba3dump <libdir> [<smb.conf>]")
parser.add_option("--format", type="choice", metavar="FORMAT",
choices=["full", "summary"])
@@ -96,7 +96,7 @@ def print_samba3_secrets(secrets):
def print_samba3_regdb(regdb):
print_header("Registry")
- from registry import str_regtype
+ from samba.registry import str_regtype
for k in regdb.keys():
print "[%s]" % k