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:
parent
575f124385
commit
976eca077d
@ -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
|
||||
|
@ -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:
|
Loading…
x
Reference in New Issue
Block a user