diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/scripting/devel/crackname | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/scripting/devel/crackname b/source4/scripting/devel/crackname index 133b853969..b6a372ea96 100755 --- a/source4/scripting/devel/crackname +++ b/source4/scripting/devel/crackname @@ -71,5 +71,8 @@ if __name__ == "__main__": req.names = [names] (result, ctr) = drs.DsCrackNames(drs_handle, 1, req) - print ctr.array[0].status - print ctr.array[0].result_name + 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 |