1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

Move some scripts to examples directory since they're not really generically useful.

(This used to be commit 4026493e91f8096e5d602cd42f9a83d2d75042db)
This commit is contained in:
Jelmer Vernooij 2008-05-24 17:56:49 +02:00
parent 575f124385
commit 976eca077d
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -100,7 +100,7 @@ if len(sys.argv) != 2:
binding = sys.argv[1]
print "Connecting to " + binding
print "Connecting to %s" % binding
try:
samr = samr.samr(binding)
except Exception, e: