summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-06-30 01:59:53 -0700
committerKarolin Seeger <kseeger@samba.org>2013-07-04 11:47:53 +0200
commitd641469b3522c1fc0ebece262ed6eff66f5f99be (patch)
treeb40655abb18a10a55e7a845ffd776946378444b5
parent47bd903e780cc2c42f0003824f3ea0f67228986b (diff)
downloadsamba-d641469b3522c1fc0ebece262ed6eff66f5f99be.tar.gz
samba-d641469b3522c1fc0ebece262ed6eff66f5f99be.tar.bz2
samba-d641469b3522c1fc0ebece262ed6eff66f5f99be.zip
Make the output of the crackname script more readable
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 3 23:17:57 CEST 2013 on sn-devel-104 (cherry picked from commit 2536ee8b640c1257dbe28a977ae0b48a62093d0c) Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-1-test): Thu Jul 4 11:47:53 CEST 2013 on sn-devel-104
-rwxr-xr-xsource4/scripting/devel/crackname8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/devel/crackname b/source4/scripting/devel/crackname
index b6a372ea96..2e1798511f 100755
--- a/source4/scripting/devel/crackname
+++ b/source4/scripting/devel/crackname
@@ -71,8 +71,8 @@ if __name__ == "__main__":
req.names = [names]
(result, ctr) = drs.DsCrackNames(drs_handle, 1, req)
- print "# of result %d" %ctr.count
+ print "# of result = %d" %ctr.count
if ctr.count:
- print ctr.array[0].status
- print ctr.array[0].result_name
- print ctr.array[0].dns_domain_name
+ print "status = %d" % ctr.array[0].status
+ print "result name = %s" % ctr.array[0].result_name
+ print "domain = %s" % ctr.array[0].dns_domain_name