summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-06-30 01:59:53 -0700
committerJeremy Allison <jra@samba.org>2013-07-03 23:17:56 +0200
commit2536ee8b640c1257dbe28a977ae0b48a62093d0c (patch)
treeb40655abb18a10a55e7a845ffd776946378444b5 /source4
parentcaf3af33deeea9bee61a741fcc991285006cc6f5 (diff)
downloadsamba-2536ee8b640c1257dbe28a977ae0b48a62093d0c.tar.gz
samba-2536ee8b640c1257dbe28a977ae0b48a62093d0c.tar.bz2
samba-2536ee8b640c1257dbe28a977ae0b48a62093d0c.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
Diffstat (limited to 'source4')
-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