summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-01 17:37:13 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-01 18:35:22 +0100
commita152f20dd10288ce51ac987af8fb87ab30eb5654 (patch)
tree7ce14c5e648aed0eee8c34ecd0b8ea0e1941f2ed
parent5e4691e70e92e12dd08e88f6abd046637f7b4210 (diff)
downloadsamba-a152f20dd10288ce51ac987af8fb87ab30eb5654.tar.gz
samba-a152f20dd10288ce51ac987af8fb87ab30eb5654.tar.bz2
samba-a152f20dd10288ce51ac987af8fb87ab30eb5654.zip
s3:libnet/libnet_samsync_display: fix netr_DELTA_* display
metze
-rw-r--r--source3/libnet/libnet_samsync_display.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/source3/libnet/libnet_samsync_display.c b/source3/libnet/libnet_samsync_display.c
index eb891cfc1a..f2cff78dd9 100644
--- a/source3/libnet/libnet_samsync_display.c
+++ b/source3/libnet/libnet_samsync_display.c
@@ -206,29 +206,32 @@ static NTSTATUS display_sam_entry(TALLOC_CTX *mem_ctx,
display_alias_mem(id.rid, u.alias_member);
break;
case NETR_DELTA_POLICY:
- printf("Policy\n");
+ printf("Policy: %s\n",
+ sid_string_dbg(id.sid));
break;
case NETR_DELTA_TRUSTED_DOMAIN:
printf("Trusted Domain: %s\n",
u.trusted_domain->domain_name.string);
break;
case NETR_DELTA_DELETE_TRUST:
- printf("Delete Trust: %d\n",
- u.delete_trust.unknown);
+ printf("Delete Trust: %s\n",
+ sid_string_dbg(id.sid));
break;
case NETR_DELTA_ACCOUNT:
- printf("Account\n");
+ printf("Account: %s\n",
+ sid_string_dbg(id.sid));
break;
case NETR_DELTA_DELETE_ACCOUNT:
- printf("Delete Account: %d\n",
- u.delete_account.unknown);
+ printf("Delete Account: %s\n",
+ sid_string_dbg(id.sid));
break;
case NETR_DELTA_SECRET:
- printf("Secret\n");
+ printf("Secret: %s\n",
+ id.name);
break;
case NETR_DELTA_DELETE_SECRET:
- printf("Delete Secret: %d\n",
- u.delete_secret.unknown);
+ printf("Delete Secret: %s\n",
+ id.name);
break;
case NETR_DELTA_DELETE_GROUP2:
printf("Delete Group2: %s\n",