summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-01 17:36:33 +0100
committerStefan Metzmacher <metze@samba.org>2011-02-01 18:35:22 +0100
commit5e4691e70e92e12dd08e88f6abd046637f7b4210 (patch)
treee737355db2d6f4b2d921c4288a82a4183646cee0 /source3
parent34b7b552e85fddedf012af90eb13a4cfdcc16a74 (diff)
downloadsamba-5e4691e70e92e12dd08e88f6abd046637f7b4210.tar.gz
samba-5e4691e70e92e12dd08e88f6abd046637f7b4210.tar.bz2
samba-5e4691e70e92e12dd08e88f6abd046637f7b4210.zip
s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_netlogon.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c
index c909efe53f..63057ac368 100644
--- a/source3/rpcclient/cmd_netlogon.c
+++ b/source3/rpcclient/cmd_netlogon.c
@@ -478,7 +478,7 @@ static void display_sam_sync(struct netr_DELTA_ENUM_ARRAY *r)
break;
case NETR_DELTA_DELETE_GROUP:
printf("Delete Group: %d\n",
- u.delete_account.unknown);
+ id.rid);
break;
case NETR_DELTA_RENAME_GROUP:
printf("Rename Group: %s -> %s\n",
@@ -511,7 +511,7 @@ static void display_sam_sync(struct netr_DELTA_ENUM_ARRAY *r)
break;
case NETR_DELTA_DELETE_ALIAS:
printf("Delete Alias: %d\n",
- r->delta_enum[i].delta_id_union.rid);
+ id.rid);
break;
case NETR_DELTA_RENAME_ALIAS:
printf("Rename alias: %s -> %s\n",
@@ -527,29 +527,32 @@ static void display_sam_sync(struct netr_DELTA_ENUM_ARRAY *r)
}
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",