summaryrefslogtreecommitdiff
path: root/source4/torture/nbt
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-28 09:58:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:06 -0500
commitf7c5e5a3987ea773203f6052e9cac34ae8992131 (patch)
treebf5d0cfbbf80f4e56585c249e86c16db28a98366 /source4/torture/nbt
parent2ca10397af6f5680f99997d9f92cd6356816376d (diff)
downloadsamba-f7c5e5a3987ea773203f6052e9cac34ae8992131.tar.gz
samba-f7c5e5a3987ea773203f6052e9cac34ae8992131.tar.bz2
samba-f7c5e5a3987ea773203f6052e9cac34ae8992131.zip
r10569: add all info that we have to wrepl_name, as we need it for replication :-)
metze (This used to be commit bfd548ca10134d5a17b87a0507917721aa251223)
Diffstat (limited to 'source4/torture/nbt')
-rw-r--r--source4/torture/nbt/winsreplication.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c
index 914e0b52eb..cd60e12499 100644
--- a/source4/torture/nbt/winsreplication.c
+++ b/source4/torture/nbt/winsreplication.c
@@ -147,9 +147,12 @@ static void display_entry(TALLOC_CTX *mem_ctx, struct wrepl_name *name)
int i;
printf("%s\n", nbt_name_string(mem_ctx, &name->name));
+ printf("\tFLAGS: 0x%08X G_FLAG: 0x%08X VERSION_ID: %llu\n",
+ name->flags, name->group_flag, name->version_id);
+ printf("\tOWNER: %-15s\n", name->owner);
for (i=0;i<name->num_addresses;i++) {
- printf("\t%s %s\n",
- name->addresses[i].owner, name->addresses[i].address);
+ printf("\tADDR: %-15s OWNER: %-15s\n",
+ name->addresses[i].address, name->addresses[i].owner);
}
}